Peaking / Notch IIR Filter

Generates coefficients for a 2nd order IIR digital filter
2.8K Downloads
Updated 26 Sep 2007

View License

Derive coefficients for a peaking filter with a given amplitude and bandwidth. All coefficients are calculated as described in Zolzer's
DAFX book (p. 50 - 55). This algorithm assumes a constant Q-term
is used through the equation.

Usage: [B,A] = peaking(G, Fc, Q, Fs);

G is the logrithmic gain (in dB)
FC is the center frequency
Q is Q-term equating to (Fb / Fc)
Fs is the sampling rate

The typical usages is multi-band equalization where each band has it's own peaking filter.

Cite As

Jeff Tackett (2026). Peaking / Notch IIR Filter (https://se.mathworks.com/matlabcentral/fileexchange/16567-peaking-notch-iir-filter), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0