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.

The Properties of the DTFT 71<br />

60<br />

Magnitude of X<br />

1<br />

Angle of X<br />

|X|<br />

40<br />

20<br />

radiands/pi<br />

0.5<br />

0<br />

−0.5<br />

0<br />

−1 −0.5 0 0.5 1<br />

frequency in π units<br />

60<br />

Magnitude of Y<br />

−1<br />

−1 −0.5 0 0.5 1<br />

frequency in π units<br />

1<br />

Angle of Y<br />

|Y|<br />

40<br />

20<br />

radians/pi<br />

0.5<br />

0<br />

−0.5<br />

0<br />

−1 −0.5 0 0.5 1<br />

frequency in π units<br />

−1<br />

−1 −0.5 0 0.5 1<br />

frequency in π units<br />

FIGURE 3.5 Plots in Example 3.9<br />

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

>> title(’Magnitude of Y’)<br />

>> subplot(2,2,4); plot(w/pi,angle(Y)/pi); grid; axis([-1,1,-1,1])<br />

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

>> title(’Angle of Y’)<br />

From the plots in Figure 3.5, we observe that X(e jω )isindeed shifted by π/4<br />

in both magnitude and angle.<br />

□<br />

□ EXAMPLE 3.10 To verify the conjugation property (3.8), let x(n) beacomplex-valued random<br />

sequence over −5 ≤ n ≤ 10 with real and imaginary parts uniformly distributed<br />

between [0, 1]. The MATLAB verification is as follows.<br />

>> n = -5:10; x = rand(1,length(n)) + j*rand(1,length(n));<br />

>> k = -100:100; w = (pi/100)*k; % frequency between -pi and +pi<br />

>> X = x * (exp(-j*pi/100)).^(n’*k); % DTFT of x<br />

% conjugation property<br />

>> y = conj(x); % signal conjugation<br />

>> Y = y * (exp(-j*pi/100)).^(n’*k); % DTFT of y<br />

% verification<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!