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.

134 Chapter 4 THE z-TRANSFORM<br />

MATLAB script:<br />

>> n = [0:7]; x = cos(pi*n/3); y = filter(b,a,x,xic)<br />

y =<br />

Columns 1 through 4<br />

1.80750000000000 4.35545833333333 2.83975000000000 -1.56637197916667<br />

Columns 5 through 8<br />

-4.71759442187500 -3.40139732291667 1.35963484230469 5.02808085078841<br />

% Matlab Verification<br />

>> A=real(2*R(1)); B=imag(2*R(1)); C=real(2*R(3)); D=imag(2*R(4));<br />

>> y=A*cos(pi*n/3)+B*sin(pi*n/3)+((0.95).^n).*(C*cos(pi*n/3)+D*sin(pi*n/3))<br />

y =<br />

Columns 1 through 4<br />

1.80750000000048 4.35545833333359 2.83974999999978 -1.56637197916714<br />

Columns 5 through 8<br />

-4.71759442187528 -3.40139732291648 1.35963484230515 5.02808085078871 □<br />

4.6 PROBLEMS<br />

P4.1 Determine the z-transform of the following sequences using the definition (4.1). Indicate the<br />

region of convergence for each sequence and verify the z-transform expression using<br />

MATLAB.<br />

1. x(n) ={3, 2, 1, −2, −3}.<br />

↑<br />

2. x(n) =(0.8) n u(n − 2). Verify the z-transform expression using MATLAB.<br />

3. x(n) =[(0.5) n +(−0.8) n ]u(n). Verify the z-transform expression using MATLAB.<br />

4. x(n) =2 n cos(0.4πn)u(−n).<br />

5. x(n) =(n + 1)(3) n u(n). Verify the z-transform expression using MATLAB.<br />

P4.2 Consider the sequence x(n) =(0.9) n cos(πn/4)u(n). Let<br />

{<br />

x(n/2), n=0, ±2, ±4, ···;<br />

y(n) =<br />

0, otherwise.<br />

1. Show that the z-transform Y (z) ofy(n) can be expressed in terms of the z-transform<br />

X(z) ofx(n) asY (z) =X(z 2 ).<br />

2. Determine Y (z).<br />

3. Using MATLAB, verify that the sequence y(n) has the z-transform Y (z).<br />

P4.3 Determine the z-transform of the following sequences using the z-transform table and the<br />

z-transform properties. Express X(z) asarational function in z −1 .Verify your results using<br />

MATLAB. Indicate the region of convergence in each case, and provide a pole-zero plot.<br />

1. x(n) =2δ(n − 2)+3u(n − 3)<br />

2. x(n) =3(0.75) n cos(0.3πn)u(n)+4(0.75) n sin(0.3πn)u(n)<br />

3. x(n) =n sin( πn 3 )u(n)+(0.9)n u(n − 2)<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!