Unit
SignalUtils
The following formula is used for numeric differentiation:
The filter does not preserve linear phase, but it is more accurate then:y[i] = (x[i] - x[i-2]) / (2 * dT) dT ... sampling period x - input y - output
which can be rewriten as:y[i] = (x[i]-x[i-1])/dT
To apply a differentiator preserving linear phase see the RemezImpulse and KaiserImpulse routines.y[i] = ((x[i] - x[i-1]) + (x[i-1] - x[i-2]))/2 * 1/dT
Important: Record types as well as all other variables are automatically initialized to zero, if they are declared as fields of an object. The state variable of the Differentiate routine has to be initialized before it can be used, if declared within a routine.
| See Also |
|---|
| Integrate |
| RemezImpulse |
| KaiserImpulse |
| FIRImpulse |
| Copyright 2008 Dew Research |