02.10.2019 Views

UploadFile_6417

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

460 Chapter 8 IIR FILTER DESIGN<br />

1<br />

0.8913<br />

Magnitude Response<br />

1<br />

Phase Response<br />

phase in π units<br />

0.5<br />

0<br />

−0.5<br />

0<br />

0 0.3 0.4 0.6 0.75 1<br />

frequency in π units<br />

−1<br />

0 0.3 0.4 0.6 0.75 1<br />

frequency in π units<br />

0<br />

Magnitude in dB<br />

40<br />

Group Delay<br />

30<br />

samples<br />

20<br />

40<br />

0 0.3 0.4 0.6 0.75 1<br />

frequency in π units<br />

10<br />

0<br />

0 0.3 0.4 0.6 0.75 1<br />

frequency in π units<br />

FIGURE 8.33 Digital elliptic bandpass filter in Example 8.29<br />

□ EXAMPLE 8.30 Finally, we will design a Chebyshev-II bandstop filter whose specifications are<br />

given in the following MATLAB script.<br />

>> % Digital Filter Specifications: % Type: Chebyshev-II Bandstop<br />

>> ws = [0.4*pi 0.7*pi]; % Dig. stopband edge frequency<br />

>> wp = [0.25*pi 0.8*pi]; % Dig. passband edge frequency<br />

>> Rp = 1; % Passband ripple in dB<br />

>> As = 40; % Stopband attenuation in dB<br />

>> % Calculations of Chebyshev-II Filter Parameters:<br />

>> [N,wn] = cheb2ord(wp/pi,ws/pi,Rp,As);<br />

>> % Digital Chebyshev-II Bandstop Filter Design:<br />

>> [b,a] = cheby2(N,As,ws/pi,’stop’);<br />

>> % Cascade Form Realization:<br />

>> [b0,B,A] = dir2cas(b,a)<br />

b0 = 0.1558<br />

B = 1.0000 1.1456 1.0000<br />

1.0000 0.8879 1.0000<br />

1.0000 0.3511 1.0000<br />

1.0000 -0.2434 1.0000<br />

1.0000 -0.5768 1.0000<br />

Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).<br />

Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!