Generates a set of filter coefficients to implement a digital interpolated FIR filter. You can pass these coefficients to the FIR Narrowband Filter VI to filter the data. Details
![]() |
ripple: rp is the ripple in the passband of the filter. The default is 0.01. | ||||||||||||||||||||
![]() |
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 the coefficients to an empty cluster and returns an error. | ||||||||||||||||||||
![]() |
passband: fpass is the passband bandwidth. The default is 0.01. | ||||||||||||||||||||
![]() |
stopband: fstop is the stopband bandwidth. The default is 0.02. | ||||||||||||||||||||
![]() |
center freq: fc is the center frequency of the filter. The default is 0.1. | ||||||||||||||||||||
![]() |
attenuation (db): Ar is the attenuation in the stopband of the filter. The default is 60 decibels. | ||||||||||||||||||||
![]() |
filter type specifies the passband of the filter.
|
||||||||||||||||||||
![]() |
IFIR Coefficients is a cluster that contains IFIR coefficients.
| ||||||||||||||||||||
![]() |
error returns any error or warning from the VI. Refer to Signal Processing Error Codes for more information about these conditions. |
The overall filter is a linear-phase FIR filter. The delay for this filter is
,
where
You can design narrowband FIR filters using the FIR Narrowband Coefficients VI, and then implement the filtering using the FIR Narrowband Filter VI. The design and implementation are separate operations because many narrowband filters require long design times, whereas the actual filtering is very fast and efficient. Keep this in mind when creating your narrowband filtering diagrams.