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.

Important Properties of the z-Transform 109<br />

Solution<br />

Note that<br />

Using the MATLAB script,<br />

x 1(n) ={1, 2, 3} and x 2(n) ={2, 4, 3, 5}<br />

↑<br />

↑<br />

>> x1 = [1,2,3]; n1 = [-1:1]; x2 = [2,4,3,5]; n2 = [-2:1];<br />

>> [x3,n3] = conv_m(x1,n1,x2,n2)<br />

x3 =<br />

2 8 17 23 19 15<br />

n3 =<br />

-3 -2 -1 0 1 2<br />

we have<br />

X 3(z) =2z 3 +8z 2 +17z +23+19z −1 +15z −2<br />

□<br />

In passing we note that to divide one polynomial by another one, we<br />

would require an inverse operation called deconvolution [23, Chapter 6].<br />

In MATLAB [p,r] = deconv(b,a) computes the result of dividing b by<br />

a in a polynomial part p and a remainder r. For example, if we divide the<br />

polynomial X 3 (z) inExample 4.4 by X 1 (z), as follows,<br />

>> x3 = [6,17,34,43,38,24]; x1 = [2,3,4]; [x2,r] = deconv(x3,x1)<br />

x2 =<br />

3 4 5 6<br />

r =<br />

0 0 0 0 0 0<br />

then we obtain the coefficients of the polynomial X 2 (z) asexpected. To<br />

obtain the sample index, we will have to modify the deconv function as<br />

we did in the conv m function. This is explored in Problem P4.10. This<br />

operation is useful in obtaining a proper rational part from an improper<br />

rational function.<br />

The second important use of the convolution property is in system<br />

output computations as we shall see in a later section. This interpretation<br />

is particularly useful for verifying the z-transform expression X(z) ofa<br />

casual sequence using MATLAB. Note that since MATLAB is a numerical<br />

processor (unless the Symbolic toolbox is used), it cannot be used for<br />

symbolic z-transform calculations. We will now elaborate on this. Let<br />

x(n) beasequence with a rational transform<br />

X(z) = B(z)<br />

A(z)<br />

where B(z) and A(z) are polynomials in z −1 .Ifweuse the coefficients of<br />

B(z) and A(z) asthe b and a arrays in the filter routine and excite this<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!