0
213views
Design and plot the magnitude response of an analog Chebyshev type I lowpass filter to have a maximum passband attenuation of 0.5 dB at 500 Hz and 50 dB minimum stopband attenuation at 1 KHz.
1 Answer
written 22 months ago by | • modified 22 months ago |
Solution:
MATLAB Program:
$\mathrm{Wp}=500 * 2 * \mathrm{pi}$;
$\mathrm{Ws}=1000 * 2 * \mathrm{pi} ;$
R p=0.5 ;
R s=50 ;
$ [\mathrm{N}, \mathrm{Wc}]=\operatorname{cheb} \operatorname{ord}(\mathrm{Wp}, \mathrm{Ws}, \mathrm{Rp}, \mathrm{Rs}, ' \mathrm{~s}$ ' $) $
$ [\mathrm{B}, \mathrm{A}]=\operatorname{cheby} 1(\mathrm{~N}, \mathrm{Rp}, \mathrm{Wc}$, ' $\mathrm{s}$ ' $) $
omega =[0: 1: 3 * W c];
$ \mathrm{h}=\operatorname{freqs}(\mathrm{B}, \mathrm{A}$, omega $) ; $
plot (omega. / (2*pi), (abs (h)), 'm');
title('Chebyshev LPF Example 5.2');
$\mathrm{xlabel}$ ('Frequency in $\mathrm{Hz}$ '); ylabel ('Magnitude');