iirnotch
(To be removed) Second-order IIR notch filter
The iirnotch
function will be removed in a future release. Use the
designNotchPeakIIR
function instead. For more information on how to update your existing code, see Version History.
Description
[
returns the numerator coefficients, num
,den
] = iirnotch(w0
,bw
)num
, and the denominator
coefficients, den
, of the digital notching filter with the notch
located at w0
and the bandwidth at the –3 dB point set to
bw
. To design the filter, w0
must meet the
condition 0.0 < w0
< 1.0, where 1.0 corresponds to π radians per
sample in the frequency range.
The quality factor (Q factor) q for the filter is related to the
filter bandwidth by q = w0/bw
, where
w0
is the notch frequency.