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.

Problems 139<br />

It is also known that the frequency response function H(e jω )evaluated at ω = π/4 isequal<br />

to 1, i.e.,<br />

H(e jπ/4 )=1<br />

1. Determine the system function H(z), and indicate its region of convergence.<br />

2. Determine the difference equation representation.<br />

3. Determine the steady-state response y ss(n) ifthe input is x(n) =cos(πn/4)u(n).<br />

4. Determine the transient response y tr(n) ifthe input is x(n) =cos(πn/4)u(n).<br />

P4.21 A digital filter is described by the frequency response function<br />

( )<br />

H(e jω ω<br />

)=[1+2cos(ω)+3cos(2ω)] cos e −j5ω/2<br />

2<br />

1. Determine the difference equation representation.<br />

2. Using the freqz function, plot the magnitude and phase of the frequency response of the<br />

filter. Note the magnitude and phase at ω = π/2 and at ω = π.<br />

3. Generate 200 samples of the signal x(n) =sin(πn/2) + 5 cos(πn), and process through<br />

the filter to obtain y(n). Compare the steady-state portion of y(n) tox(n). How are the<br />

amplitudes and phases of two sinusoids affected by the filter?<br />

P4.22 Repeat Problem 4.21 for the following filter<br />

H(e jω )=<br />

1+e −j4ω<br />

1 − 0.8145e −j4ω<br />

P4.23 Solve the following difference equation for y(n) using the one-sided z-transform approach.<br />

y(n) =0.81y(n − 2) + x(n) − x(n − 1), n≥ 0; y(−1) =2,y(−2) =2<br />

x(n) =(0.7) n u(n +1)<br />

Generate the first 20 samples of y(n) using MATLAB, and compare them with your answer.<br />

P4.24 Solve the difference equation for y(n), n≥ 0<br />

y(n) − 0.4y(n − 1) − 0.45y(n − 2) = 0.45x(n)+0.4x(n − 1) − x(n − 2)<br />

driven by the input x(n) = [ 2+ ( 1<br />

2) n ] u(n) and subject to<br />

y(−1) =0,y(−2) =3; x(−1) = x(−2) = 2<br />

Decompose the solution y(n) into (i) transient response, (ii) steady-state response, (iii)<br />

zero-input response, and (iv) zero-state response.<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!