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.

170 Chapter 5 THE DISCRETE FOURIER TRANSFORM<br />

end<br />

N = length(x); n = 0:(N-1);<br />

xec = 0.5*(x + x(mod(-n,N)+1));<br />

xoc = 0.5*(x - x(mod(-n,N)+1));<br />

□ EXAMPLE 5.10 Let x(n) =10(0.8) n , 0 ≤ n ≤ 10 as in Example 5.9.<br />

a. Decompose and plot the x ec(n) and x oc(n) components of x(n).<br />

b. Verify the property in (5.34).<br />

Solution<br />

a. MATLAB script:<br />

>> n = 0:10; x = 10*(0.8) .^ n;<br />

>> [xec,xoc] = circevod(x);<br />

>> subplot(2,1,1); stem(n,xec); title(’Circular-even component’)<br />

>> xlabel(’n’); ylabel(’xec(n)’); axis([-0.5,10.5,-1,11])<br />

>> subplot(2,1,2); stem(n,xoc); title(’Circular-odd component’)<br />

>> xlabel(’n’); ylabel(’xoc(n)’); axis([-0.5,10.5,-4,4])<br />

The plots in Figure 5.14 show the circularly symmetric components of x(n).<br />

10<br />

8<br />

Circular-even component<br />

xec(n)<br />

6<br />

4<br />

2<br />

0<br />

4<br />

0 1 2 3 4 5 6 7 8 9 10<br />

n<br />

Circular-odd component<br />

2<br />

xoc(n)<br />

0<br />

−2<br />

−4<br />

0 1 2 3 4 5 6 7 8 9 10<br />

n<br />

FIGURE 5.14 Circular-even and circular-odd components of the sequence in<br />

Example 5.10a<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!