Filters the input sequence X using the direct form IIR filter specified by Reverse Coefficients and Forward Coefficients. You can use the IIR Filter with I.C. VI to process blocks of continuous data. Details
![]() |
X is the input array of samples to be filtered. | ||
![]() |
Reverse Coefficients is the reverse coefficients of the filter design.
This VI does not place any restrictions on the coefficient arrays. If both coefficient arrays are empty, the VI performs no filtering and sets Y to the value of X.
|
||
![]() |
Forward Coefficients is the forward coefficients of the filter design. | ||
![]() |
Initial X Conditions contains the most recent inputs. The most recent prior input should be the last element in the array. The number of elements in this array should be one less than the number of elements in the Forward Coefficients array. | ||
![]() |
Initial Y Conditions contains the most recent outputs. The most recent output should be the last element in the array. The number of elements in this array should be one less than the number of elements in the Reverse Coefficients array. | ||
![]() |
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. | ||
![]() |
Final X Conditions contains the most recent inputs that may be used as Initial X Conditions on the next call to this VI. | ||
![]() |
Final Y Conditions contains the most recent outputs that may be used as Initial Y Conditions on the next call to this VI. |
If Y represents the output sequence Filtered X, the IIR Filter with I.C. VI obtains the elements of Y using
,
where n is the number of Forward Coefficients, represented by , and m is the number of Reverse Coefficients, represented by
.
![]() | Note You can use the IIR Filter with I.C. VI to implement the FIR filtering operation by leaving Reverse Coefficients unwired and by wiring the FIR filter coefficients to Forward Coefficients. |