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.

226 Chapter 6 IMPLEMENTATION OF DISCRETE-TIME FILTERS<br />

Columns 5 through 8<br />

2.67651367187500 -1.52264404296875 0.28984069824219 0.49931716918945<br />

>> hdir = filter(b,a,delta)<br />

hdir =<br />

Columns 1 through 4<br />

0.06250000000000 -0.23437500000000 0.85546875000000 -2.28417968750000<br />

Columns 5 through 8<br />

2.67651367187500 -1.52264404296875 0.28984069824219 0.49931716918945<br />

□ EXAMPLE 6.3 What would be the overall direct, cascade, or parallel form if a structure contains<br />

a combination of these forms? Consider the block diagram shown in Figure 6.9.<br />

□<br />

Solution<br />

This structure contains a cascade of two parallel sections. The first parallel<br />

section contains 2 biquads, while the second one contains 3 biquads. We will have<br />

to convert each parallel section into a direct form using the par2dir function,<br />

giving us a cascade of 2 direct forms. The overall direct form can be computed<br />

by convolving the corresponding numerator and denominator polynomials. The<br />

overall cascade and parallel forms can now be derived from the direct form.<br />

MATLAB script:<br />

>> C0=0; B1=[2 4;3 1]; A1=[1 1 0.9; 1 0.4 -0.4];<br />

>> B2=[0.5 0.7;1.5 2.5;0.8 1]; A2=[1 -1 0.8;1 0.5 0.5;1 0 -0.5];<br />

>> [b1,a1]=par2dir(C0,B1,A1)<br />

b1 =<br />

5.0000 8.8000 4.5000 -0.7000<br />

FIGURE 6.9 Block diagram in Example 6.3<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!