The two control parameters for this filter are
- the center frequency
- the quality factor (or bandwidth).
T = 1/44100;
Q = 20;
fc = 400;
Bw = fc/Q;
R = exp(-pi*Bw*T);
B = [1 0 -R];
A = [1 -2*R*cos(2*pi*fc*T) R*R];
[h, w] = freqz(B,A);
Use freqz, tf2zp and zplane to see
how the spectrum corresponds to the plot of the poles and zeros in
the z-plane.
Parameters can be changed in real-time, making this an efficient and ideal
implementation for performance situations.
``Mus 270a: Introduction to Digital Filters''
by Tamara Smyth,
Department of Music, University of California, San Diego.
Download PDF version (filters.pdf)
Download compressed PostScript version (filters.ps.gz)
Download PDF `4 up' version (filters_4up.pdf)
Download compressed PostScript `4 up' version (filters_4up.ps.gz)
Copyright © 2019-02-25 by Tamara Smyth.
Please email errata, comments, and suggestions to Tamara Smyth<trsmyth@ucsd.edu>