29.08.2015 Views

Sampling and Reconstruction of Analog Signals

Sampling and Reconstruction of Analog Signals

Sampling and Reconstruction of Analog Signals

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example 5a<br />

• Reconstruct signal from the samples in example 2 using ZOH<br />

interpolation<br />

• It is a crude one <strong>and</strong> the further processing <strong>of</strong> analog signal is<br />

neccessary<br />

1<br />

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

Ts = 0.0002; n = -25:1:25; nTs = n*Ts;<br />

x = exp(-1000*abs(nTs));<br />

% <strong>Analog</strong> Signal reconstruction using stairs<br />

stairs(nTs*1000,x);<br />

xlabel('t in msec.'); ylabel('xa(t)')<br />

stem(n*Ts*1000,x); hold <strong>of</strong>f<br />

xa(t)<br />

0.9<br />

0.8<br />

0.7<br />

0.6<br />

0.5<br />

0.4<br />

0.3<br />

0.2<br />

0.1<br />

0<br />

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

t in msec.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!