%% Design IIR Peaking Filter
% Design and plot an IIR peaking filter that boosts the frequency at 1.75 KHz in a signal and has a bandwidth of 500 Hz at the -3 dB point.

fs = 10000; 
wo = 1750/(fs/2);  
bw = 500/(fs/2);
[b,a] = iirpeak(wo,bw);
fvtool(b,a)

% The peak filter has the desired gain and bandwidth at 1.75 KHz.
% Copyright 2012 The MathWorks, Inc.