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.

160 Chapter 5 THE DISCRETE FOURIER TRANSFORM<br />

Magnitude of the DFT: N=8<br />

4<br />

3<br />

|X(k)|<br />

2<br />

1<br />

0<br />

−1<br />

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

k<br />

Angle of the DFT: N=8<br />

200<br />

100<br />

Degrees<br />

0<br />

−100<br />

−200<br />

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

k<br />

FIGURE 5.6 The DFT plots of Example 5.7: N =8<br />

which is shown in Figure 5.6. Continuing further, if we treat x(n) asa16-point<br />

sequence by padding 12 zeros, such that<br />

x(n) ={1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}<br />

↑<br />

then the frequency resolution is ω 1 =2π/16 = π/8 and W 16 = e −jπ/8 . Therefore<br />

we get a more dense spectrum with spectral samples separated by π/8. The<br />

sketch of X 16 (k) isshown in Figure 5.7.<br />

It should be clear then that if we obtain many more spectral samples by<br />

choosing a large N value then the resulting DFT samples will be very close to<br />

each other and we will obtain plot values similar to those in Figure 5.4. However,<br />

the displayed stem-plots will be dense. In this situation a better approach to<br />

display samples is to either show them using dots or join the sample values using<br />

the plot command (that is, using the FOH studied in Chapter 3). Figure 5.8<br />

shows the magnitude and phase of the 128-point DFT x 128(k) obtained by<br />

padding 120 zeros. The DFT magnitude plot overlaps the DTFT magnitude plot<br />

shown as dotted-line while the phase plot shows discrepancy at discontinuities<br />

due to finite N value, which should be expected.<br />

□<br />

Comments: Based on the last two examples there are several comments<br />

that we can make.<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!