622 Practical MATLAB® Applications for Engineers
Example 6.6Create the script fi le butt_chev that returns the magnitude and phase plots of the follow-
ing analog LPFs:
a. Butterworth
b. Chebyshev/type 1
c. Chebyshev/type 2
with the following fi lter’s specs:- The fi lter’s order of N = 5
- Pass-band edge at Wp = 1 rad/s
- Pass-band ripple of Rp = 1 dB
- Stop-band ripple of Rs = 1 dB
FIGURE 6.49
Bode plots of H(w) of Example 6.5.
Frequency (rad/s)Phase (in degree) To: Y(1)Bode plots:magnitude and phase01020304050 From: U(1)100 101 102 103 104 105020406080100Magnitude (dB)FIGURE 6.50
Zero/pole plots of H(w) of Example 6.5.
− 3500 − 3000 − 2500 − 2000 − 1500 − 1000 − 500 0− 1000− 50005001000Real partImaginary partzero-pole plot