02.10.2019 Views

UploadFile_6417

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

428 Chapter 8 IIR FILTER DESIGN<br />

1<br />

Impulse Responses<br />

0.8<br />

Amplitude<br />

0.6<br />

0.4<br />

0.2<br />

0<br />

0 0.5 1 1.5 2 2.5 3<br />

time in sec<br />

3<br />

Magnitude Responses<br />

Magnitude<br />

2<br />

1<br />

Digital filter<br />

Analog filter<br />

0<br />

0 1 2 3 4 5 6 7 8 9 10<br />

frequency in Hz<br />

FIGURE 8.20 Impulse and frequency response plots in Example 8.10<br />

>> % Analog Prototype Specifications: Inverse mapping for frequencies<br />

>> T = 1; % Set T=1<br />

>> OmegaP = wp / T; % Prototype Passband freq<br />

>> OmegaS = ws / T; % Prototype Stopband freq<br />

>> % Analog Butterworth Prototype Filter Calculation:<br />

>> [cs,ds] = afd_butt(OmegaP,OmegaS,Rp,As);<br />

*** Butterworth Filter Order = 6<br />

>> % Impulse Invariance transformation:<br />

>> [b,a] = imp_invr(cs,ds,T); [C,B,A] = dir2par(b,a)<br />

C = []<br />

B = 1.8557 -0.6304<br />

-2.1428 1.1454<br />

0.2871 -0.4466<br />

A = 1.0000 -0.9973 0.2570<br />

1.0000 -1.0691 0.3699<br />

1.0000 -1.2972 0.6949<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!