You are on page 1of 2

ECE-II LAB

[Week-7 : Fourier Transform: MATLAB] [LNMIIT, Jaipur]


1 Objectives
1. To compute and plot the Fourier spectra for the aperiodic signals.
2 In-Lab Exercises
Exercise 1 The Fourier transform (FT) of an aperiodic continuous-time signal x(t) is given by
X() =

x(t) e
j t
dt. (1)
In numerical computations, the data must be nite. Let us consider the signal x(t) of nite duration
T
0
. We approximate the FT of the nite duration signal x(t) as [1]
X() =

T
0
0
x(t) e
j t
dt
= lim
T
s
0
N
0
1

k=0
x(k T
s
) e
j k T
s
T
s
; (2)
where T
s
denotes the sampling interval of the signal x(t) and N =
T
0
T
s
is the total number of samples.
Let us consider the samples of X() at regular interval of
0
. If X
r
is the rth sample, then from Eq.
(2), we obtain
X
r
=
N
0
1

k=0
T
s
x(k T
s
) e
j r
0
k T
s
=
N
0
1

k=0
x
k
e
j r
0
k
; (3)
where x
k
= T
s
x(k T
s
), X
r
= X(r
0
) and
0
=
0
T
s
.
Use MATLAB to compute the FT of the following signal:
x
1
(t) = e
2 t
u(t) (4)
where u() denotes the continuous-time unit step function. Plot the magnitude and phase spectra of
the x
1
(t). Choose T
0
= 4 and T
s
=
1
64
.
3 Post-Lab Exercises
Exercise 2 Let T
0
= 8 and T
s
=
1
32
and plot the magnitude and phase spectra and compare with the
previous results. Explain the result.
1
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).
2

You might also like