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.

̸<br />

76 Chapter 3 THE DISCRETE-TIME FOURIER ANALYSIS<br />

Hence<br />

√<br />

|H(e jω 1<br />

)| =<br />

(1 − 0.9 cos ω) 2 +(0.9 sin ω) = 1<br />

√ 2 1.81 − 1.8 cos ω<br />

and<br />

[<br />

]<br />

H(e jω 0.9 sin ω<br />

)=− arctan<br />

1 − 0.9 cos ω<br />

To plot these responses, we can either implement the |H(e jω )| and ̸ H(e jω )<br />

functions or the frequency response H(e jω ) and then compute its magnitude<br />

and phase. The latter approach is more useful from a practical viewpoint [as<br />

shown in (3.18)].<br />

>> w = [0:1:500]*pi/500; % [0, pi] axis divided into 501 points.<br />

>> H = exp(j*w) ./ (exp(j*w) - 0.9*ones(1,501));<br />

>> magH = abs(H); angH = angle(H);<br />

>> subplot(2,1,1); plot(w/pi,magH); grid;<br />

>> xlabel(’frequency in pi units’); ylabel(’|H|’);<br />

>> title(’Magnitude Response’);<br />

>> subplot(2,1,2); plot(w/pi,angH/pi); grid<br />

>> xlabel(’frequency in pi units’); ylabel(’Phase in pi Radians’);<br />

>> title(’Phase Response’);<br />

The plots are shown in Figure 3.7.<br />

□<br />

□ EXAMPLE 3.14 Let an input to the system in Example 3.13 be 0.1u(n). Determine the steadystate<br />

response y ss(n).<br />

Solution<br />

Since the input is not absolutely summable, the discrete-time Fourier transform<br />

is not particularly useful in computing the complete response. However, it can<br />

be used to compute the steady-state response. In the steady state (i.e., n →∞),<br />

the input is a constant sequence (or a sinusoid with ω 0 = θ 0 = 0). Then the<br />

output is<br />

y ss(n) =0.1 × H(e j0 )=0.1 × 10 = 1<br />

where the gain of the system at ω =0(also called the DC gain) is H(e j0 )=10,<br />

which is obtained from Figure 3.7.<br />

□<br />

3.3.4 FREQUENCY RESPONSE FUNCTION FROM DIFFERENCE EQUA-<br />

TIONS<br />

When an LTI system is represented by the difference equation<br />

y(n)+<br />

N∑<br />

a l y(n − l) =<br />

l=1<br />

M∑<br />

b m x(n − m) (3.20)<br />

m=0<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!