class="resources" Derivative x(t) (Not in Base Package) - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Derivative x(t) (Not in Base Package)

Performs a discrete differentiation of the sampled signal X. Details  Example

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. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Derivative x(t) Details

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), x–1 is specified by initial condition when i = 0, and xn is specified by final condition when i = n – 1.

The initial condition and final condition minimize the error at the boundaries.

Example

Refer to the Probability Density VI in the labview\examples\analysis\statxmpl.llb directory for an example of using the Derivative x(t) VI.

 


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit