Skip to content

Function iir_highpass

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

zpk iir_highpass(const zpk& filter, double frequency, double fs = 2.0)

Designs a digital highpass IIR filter and returns ZPK coefficients.

Applies frequency pre-warping, lowpass-to-highpass analog transformation, and bilinear transform to convert an analog lowpass prototype to a digital highpass filter.

Parameters
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).
Returns
Digital highpass filter in ZPK form.

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

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