Skip to content

Function iir_bandpass

function iir_bandpass(const zpk &, double, double, double) dsp

zpk iir_bandpass(const zpk& filter, double lowfreq, double highfreq, double fs = 2.0)

Designs a digital bandpass IIR filter and returns ZPK coefficients.

Parameters
filter Analog lowpass prototype (butterworth, chebyshev1, chebyshev2, bessel, or elliptic).
lowfreq Lower cutoff frequency in Hz. If fs is omitted (left at its default of 2.0), frequencies are interpreted as normalized to Nyquist, so the valid range is 0..1.
highfreq Upper cutoff frequency in Hz. See note on lowfreq.
fs Sampling frequency in Hz (default 2.0, i.e. Nyquist = 1 Hz).
Returns
Digital bandpass filter in ZPK form.

Fully qualified name: kfr::iir_bandpass(const zpk &, double, double, double)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.