filter_iir
IIR filter, direct form I implementation, not recommanded (use rather filter_sois() instead).
Namespace: dsp::filter
Prototype
sptr<FilterGen<T>> filter_iir(const FRat<Tc> &h)
Parameters
h | Transfert function (rational function) |
Returns
Filter T -> T
Description
This filmter implements an IIR filter, using the most direct form (direct I), that is, the filter is decomposed as:
- Warning
- If the filter order is large, because of truncation errors, this implementation a a lot of chance to diverge. The alternative implementation through a cascade of second order RII filters (filter_sois()) is then recommanded.