Generates the set of filter coefficients to implement an IIR filter as specified by the Butterworth filter model. You can pass these filter coefficients, IIR Filter Cluster, to the IIR Cascade Filter VI to filter a sequence of data. Details
![]() |
filter type specifies the passband of the filter.
|
||||||||
![]() |
sampling freq: fs is the sampling frequency and must be greater than zero. The default is 1.0. If sampling freq: fs is less than or equal to zero, the VI sets Reverse Coefficients and Forward Coefficients to empty arrays 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
where
|
||||||||
![]() |
order is the order of the IIR filter and must be greater than zero. If order is less than or equal to zero, the VI sets Reverse Coefficients and Forward Coefficients to empty arrays and returns an error. | ||||||||
![]() |
IIR Filter Cluster contains three elements: filter structure, Reverse Coefficients, and Forward Coefficients.
| ||||||||
![]() |
error returns any error or warning from the VI. Refer to Signal Processing Error Codes for more information about these conditions. |
The Butterworth Coefficients VI is a subVI of the Butterworth Filter VI. Refer to Butterworth Filters for more information and examples of how to use the Butterworth Filter VI.