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.

418 Chapter 8 IIR FILTER DESIGN<br />

if Ws Wp = 0.2*pi; Ws = 0.3*pi; Rp = 1; As = 16;<br />

>> Ripple = 10 ^ (-Rp/20); Attn = 10 ^ (-As/20);<br />

>> % Analog filter design:<br />

>> [b,a] = afd_chb2(Wp,Ws,Rp,As);<br />

*** Chebyshev-2 Filter Order = 4<br />

>> % Calculation of second-order sections:<br />

>> [C,B,A] = sdir2cas(b,a)<br />

C = 0.1585<br />

B = 1.0000 0 6.0654<br />

1.0000 0 1.0407<br />

A = 1.0000 1.9521 1.4747<br />

1.0000 0.3719 0.6784<br />

>> % Calculation of Frequency Response:<br />

>> [db,mag,pha,w] = freqs_m(b,a,0.5*pi);<br />

>> % Calculation of Impulse response:<br />

>> [ha,x,t] = impulse(b,a);<br />

The specifications are satisfied by a 4th-order Chebyshev-II filter whose system<br />

function is<br />

0.1585 ( s 2 +6.0654 )( s 2 +1.0407 )<br />

H a(s) =<br />

(s 2 +1.9521s +1.4747) (s 2 +0.3719s +0.6784)<br />

The filter plots are shown in Figure 8.17.<br />

□<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!