Performs a discrete differentiation of the sampled signal X. Details
![]() |
X is the sampled signal. |
![]() |
initial condition is best described by the equation in the Details section for this VI. The default is 0.0. |
![]() |
final condition is best described by the equation in the Details section for this VI. The default is 0.0. |
![]() |
dt is the sampling interval and must be greater than zero. The default is 1.0. If dt is less than or equal to zero, the VI sets dX/dt to an empty array and returns an error. |
![]() |
dX/dt is the derivative of the input signal. |
![]() |
error returns any error or warning from the VI. Refer to Signal Processing Error Codes for more information about these conditions. |
The differentiation f(t) of a function F(t) is defined as
Let Y represent the sampled output sequence d/dt X. The discrete implementation is given by
for i = 0, 1, 2, , n-1,
where n is the number of samples in x(t),
The initial condition and final condition minimize the error at the boundaries.