image thumbnail

Peaking / Notch IIR Filter

version 1.0.0.0 (1.49 KB) by Jeff Tackett
Generates coefficients for a 2nd order IIR digital filter

2.7K 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 (2021). Peaking / Notch IIR Filter (https://www.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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!