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

Decimate (Not in Base Package)

Decimates the input sequence X by the decimating factor and the averaging binary control. Details  

X is the input sequence. The number of elements in X must be greater than or equal to the decimating factor.
decimating factor is the factor by which input sequence X is decimated. decimating factor must be greater than zero. The default is 2.0: 0 < decimating factor n.

If decimating factor is greater than the number of samples in X or less than or equal to zero, the VI sets Decimated Array to an empty array and returns an error.

averaging specifies how the Decimate VI handles the data points in X. The default is FALSE. When averaging is set to FALSE, every decimating factor point is kept from X. When averaging is set to TRUE, each output point in Decimated Array is the mean of the decimating factor input points.
Decimated Array returns the decimated sequence of X.
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.

Decimate Details

If Y represents the output sequence Decimated Array, the Decimate VI obtains the elements of the sequence Y using

for i = 0, 1, 2, …, size – 1

,

where n is the number of elements in X, m is the decimating factor, ave is the averaging option, and size is the number of elements in the output sequence Decimated Array.


Resources


 

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