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.

Sampling and Reconstruction of Analog Signals 95<br />

1<br />

Reconstructed Signal from x1(n) using zero–order–hold<br />

xa(t)<br />

xa(t)<br />

0.8<br />

0.6<br />

0.4<br />

0.2<br />

0<br />

–5 –4 –3 –2 –1 0 1 2 3 4 5<br />

t in msec.<br />

1<br />

0.8<br />

0.6<br />

0.4<br />

0.2<br />

Reconstructed Signal from x1(n) using first–order–hold<br />

0<br />

–5 –4 –3 –2 –1 0 1 2 3 4 5<br />

t in msec.<br />

FIGURE 3.18 Signal reconstruction in Example 3.23<br />

The plots are shown in Figure 3.18, from which we observe that the ZOH reconstruction<br />

is a crude one and that the further processing of analog signal is<br />

necessary. The FOH reconstruction appears to be a good one, but a careful<br />

observation near t =0reveals that the peak of the signal is not correctly reproduced.<br />

In general, if the sampling frequency is much higher than the Nyquist<br />

rate, then the FOH interpolation provides an acceptable reconstruction. □<br />

The third approach of reconstruction in MATLAB involves the use<br />

of cubic spline functions. The spline function implements interpolation<br />

between sample points. It is invoked by xa = spline(nTs,x,t), inwhich<br />

x and nTs are arrays containing samples x(n) atnT s instances, respectively,<br />

and t array contains a fine grid at which x a (t) values are desired.<br />

Note once again that it is not possible to obtain an exact analog x a (t).<br />

□ EXAMPLE 3.24 From the samples x 1(n) and x 2(n) inExample 3.19, reconstruct x a(t) using the<br />

spline function. Comment on the results.<br />

Solution<br />

This example is similar to Examples 3.21 and 3.22. Hence sampling parameters<br />

are the same as before.<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!