1 Objectives: Ece-Ii Lab

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

ECE-II LAB

[Software Lab 3: Fourier Transform: MATLAB]

[LNMIIT, Jaipur]

Objectives
1. To compute and plot the Fourier spectra for the aperiodic signals.

In-Lab Exercises

Exercise 1 The Fourier transform (FT) of an aperiodic continuous-time signal x(t) is given by

(1)
X() =
x(t) ej t dt.

In numerical computations, the data must be finite. Let us consider the signal x(t) of finite duration
T0 . We approximate the FT of the finite duration signal x(t) as [1]

T0

X() =

x(t) ej t dt

= lim

Ts 0

N
0 1

x(k Ts ) ej k Ts Ts ;

(2)

k=0

where Ts denotes the sampling interval of the signal x(t) and N = TT0s is the total number of samples.
Let us consider the samples of X() at regular interval of 0 . If Xr is the rth sample, then from Eq.
(2), we obtain
Xr =
=

N
0 1

k=0
N
0 1

Ts x(k Ts ) ej r 0 k Ts
xk ej r 0 k ;

(3)

k=0

where xk = Ts x(k Ts ), Xr = X(r0 ) and 0 = 0 Ts .


Use MATLAB to compute the FT of the following signal:
x1 (t) = e2 t u(t)

(4)

where u() denotes the continuous-time unit step function. Plot the magnitude and phase spectra of
1
the x1 (t). Choose T0 = 4 and Ts = 64
.

Post-Lab Exercises

1
and plot the magnitude and phase spectra and compare with the
Exercise 2 Let T0 = 8 and Ts = 32
previous results. Explain the result.

References
[1] B. P. Lathi, Modern Digital and Analog Communication Systems, Third edition, Oxford (1998).
[2] Alan V.Oppenheim,Alan S.Willsky, Signals and Systems Systems, Second edition, Prentice hall
(1997).

You might also like