You are on page 1of 1

1

I. Exer i e 1: Simulation of an A/D and D/A

Suppose we want to pro ess the ontinuous-time signal


xa (t) = 3cos(21000t) + 7sin(21100t)

using a dis rete-time system. The sampling frequen y used is 4000 samples per se ond.
The dis rete-time pro essing arried out on the signal samples x(n) is des ribed by the
following dieren e equation.
y(n) = x(n) + x(n 2)

After the pro essing, the samples of the output y(n) are onverted ba k to ontinuoustime form. Give a losed-form expression for the pro essed ontinuous-time signal ya (t).
Interpret the ee t this pro essing has on the input signal.
Write a MATLAB program to perform a simulation of the previous solution.
1. Simulate the ontinuous-time signals xa (t) in MATLAB using sequen es obtained by
sampling them 1000 times the sampling frequen y. Then sample at the appropriate rate.
2. The interpolation an be approximated by trun ating the fun tion
sin[( Tt )]
( Tt )

onsidering it to be zero outside the time interval nT t nT . Consider n = 4 for the


rst simulation. What riteria have to be onsider when hoosing the value of n (justify).
Find the value that seen to be the most appropriate.

Mar h 9, 2011

DRAFT

You might also like