Function iir_lowpass¶
function iir_lowpass(const zpk &, double, double) dsp¶
Designs a digital lowpass IIR filter and returns ZPK coefficients.
Applies frequency pre-warping, lowpass-to-lowpass analog transformation, and bilinear transform to convert an analog lowpass prototype to a digital lowpass filter.Usage: iir_lowpass(butterworth(4), 1000, 48000) designs a 4th-order Butterworth lowpass at 1 kHz with 48 kHz sample rate.
| filter | Analog lowpass prototype (butterworth, chebyshev1, chebyshev2, bessel, or elliptic). |
| frequency | Cutoff frequency in Hz. If fs is omitted (left at its default of 2.0), frequency is interpreted as normalized to Nyquist, so the valid range is 0..1. |
| fs | Sampling frequency in Hz (default 2.0, i.e. Nyquist = 1 Hz). |
| Digital lowpass filter in ZPK form. |
Fully qualified name: kfr::iir_lowpass(const zpk &, double, double)
Declared at dsp/iir_design.hpp:261
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.