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.

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

to higher orders. One particularly useful interpolation employed by<br />

MATLAB is the following.<br />

• Cubic spline interpolation: This approach uses spline interpolants<br />

for a smoother, but not necessarily more accurate, estimate of the analog<br />

signals between samples. Hence this interpolation does not require<br />

an analog postfilter. The smoother reconstruction is obtained by using<br />

a set of piecewise continuous third-order polynomials called cubic<br />

splines, given by [3]<br />

x a (t) =α 0 (n)+α 1 (n)(t − nT s )+α 2 (n)(t − nT s ) 2<br />

+ α 3 (n)(t − nT s ) 3 , nT s ≤ n> n = n1:n2; t = t1:t2; Fs = 1/Ts; nTs = n*Ts; % Ts is the sampling interval<br />

>> xa = x * sinc(Fs*(ones(length(n),1)*t-nTs’*ones(1,length(t))));<br />

Note that it is not possible to obtain an exact analog x a (t) inlight of the<br />

fact that we have assumed a finite number of samples. We now demonstrate<br />

the use of the sinc function in the following two examples and also<br />

study the aliasing problem in the time domain.<br />

□ EXAMPLE 3.21 From the samples x 1(n) inExample 3.19a, reconstruct x a(t) and comment on<br />

the results.<br />

Solution<br />

Note that x 1(n) was obtained by sampling x a(t) atT s =1/F s =0.0002 sec. We<br />

will use the grid spacing of 0.00005 sec over −0.005 ≤ t ≤ 0.005, which gives<br />

x(n) over−25 ≤ n ≤ 25.<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!