Download Help (Windows Only) 
Owning Class: resampling
Requires: MathScript RT Module
c = decimate(a, b)
c = decimate(a, b, n)
c = decimate(a, b, option)
c = decimate(a, b, n, option)
Uses a type 1 Chebyshev filter to resample a signal.
Name  Description  

a  Specifies the original signal. a is a real vector.  
b  Specifies the new sampling rate. b is a positive integer.  
n  Specifies the order of the type 1 Chebyshev filter to use. n is a positive integer.  
option  Specifies the type of filter to use. option is a string that accepts the following values.

Name  Description 

c  Returns a resampled version of a at 1/b times the original rate. The length of c is 1/b times the length of a. c is a real vector. 
The following table lists the support characteristics of this function.
Supported in the LabVIEW RunTime Engine  Yes 
Supported on RT targets  Yes 
Suitable for bounded execution times on RT  Not characterized 
A = [1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7];
B = 2;
N = 3;
C = decimate(A, B, N)