Generates a digital, Chebyshev filter using the sampling freq: fs, low cutoff freq: fl, high cutoff freq: fh, ripple (dB), order, and filter type by calling the Chebyshev Coefficients VI. Details
![]() |
filter type specifies the passband of the filter.
|
||||||||
![]() |
X is the input signal to be filtered. | ||||||||
![]() |
sampling freq: fs is the sampling frequency and must be greater than zero. The default is 1.0. If it is less than or equal to zero, the VI sets Filtered X to an empty array and returns an error. | ||||||||
![]() |
high cutoff freq: fh is the high cutoff frequency. The VI ignores this parameter when filter type is 0 (Lowpass) or 1 (Highpass). When filter type is 2 (Bandpass) or 3 (Bandstop), high cutoff freq: fh must be greater than low cutoff freq: fl. | ||||||||
![]() |
low cutoff freq: fl is the low cutoff frequency and must observe the Nyquist criterion. The default is 0.125. where
|
||||||||
![]() |
ripple is the ripple in the passband. ripple must be greater than zero, and must be expressed in decibels. If ripple is less than or equal to zero, the VI sets Filtered X to an empty array and returns an error. The default is 0.1. | ||||||||
![]() |
order must be greater than zero. The default is 2. If order is less than or equal to zero, the VI sets Filtered X to an empty array and returns an error. | ||||||||
![]() |
init/cont controls the initialization of the internal states. When init/cont is FALSE (default), the internal states are initialized to zero. When init/cont is TRUE, the internal filter states are initialized to the final filter states from the previous call to this instance of this VI. To filter a large data sequence that has been split into smaller blocks, set this control to FALSE for the first block and to TRUE for continuous filtering of all remaining blocks. | ||||||||
![]() |
Filtered X is the output array of filtered samples. | ||||||||
![]() |
error returns any error or warning from the VI. Refer to Signal Processing Error Codes for more information about these conditions. |
After calling the Chebyshev Coefficients VI, the Chebyshev Filter VI filters the X sequence using this model to obtain a Chebyshev Filtered X sequence by calling the IIR Cascade Filter VI. Refer to Chebyshev Filters for more information about Chebyshev filters.