[num,den] = iirpeak(w0,bw)
returns a second-order digital peaking filter with the peak located at
w0, and with the bandwidth at the +3 dB point set
to bw.
[num,den] = iirpeak(w0,bw,ab)
returns a digital peaking filter whose bandwidth, bw, is specified at a
level of +ab decibels.
w0 — Peak frequency positive scalar in the range (0.0,1.0)
Peak frequency of the IIR filter, specified as a positive scalar in the range
(0.0,1.0), where 1.0 corresponds to π radians per sample in the
frequency range.
Data Types: single | double
bw — Bandwidth of filter positive scalar in the range (0.0,1.0)
Bandwidth of the filter at a level of +ab decibels, specified
as a positive scalar in the range (0.0,1.0).
The quality factor (Q factor) q for the filter is related to the filter bandwidth by q = ω0 /
bw where ω0 is the signal
frequency to boost.
Data Types: single | double
ab — Magnitude response at filter bandwidth 3 (default) | scalar
Magnitude response at the filter bandwidth bw, specified as a
scalar in dB. Including the optional input argument ab lets you
specify the magnitude response bandwidth at a level that is not the default
+3 dB point, such as +6 dB or
0 dB.