Filter specification
Filter type: bandstop, Chebyshev Type II filter.
Sample rate: 16000 Hz.
Stopband edge frequencies: 2200 Hz (lower edge) and 4400 Hz (higher edge).
Stopband attenuation: 25 dB.
Filter order: 5 and 10 (two different filters).
Tasks
1. Display magnitude and phase responses of filters.
2. Display impulse responses of filters.
3. Compare characteristics of different filters.
Notes:
• It is recommended to create a filter structure (function dfilt.df1)
before creating magnitude, phase and impulse responses of filters.
• For digital filters, stopband edge frequencies must lie between 0 and 1.
This means that we need to convert them to a normalized frequency form
(× ? rad/sample)
$ \Omega = \frac{2F}{F_D} $
F - stopband edge frequency, $F_D$ - sample rate.