S S+Lab+No.+9
S S+Lab+No.+9
S S+Lab+No.+9
(EE-223)
LABORATORY MANUAL
(LAB # 09)
Student Name: ______________________________________________
____________________________________________________________________________________________________________________________________________________________
Description:
Fourier Series
The Fourier series is a representation of a periodic signal x(t) in terms of complex exponentials
or sinusoids of frequency multiples of the fundamental frequency of x(t). The advantage of
using the Fourier series to represent periodic signals is not only in obtaining their spectral
characterization, but in finding the response of these signals when applied to LTI systems by
means of the eigenfunction property.
The Fourier Series representation of a periodic signal x(t), of fundamental period T0, is given by
an infinite sum of weighted complex exponentials (cosines and sines) with frequencies multiples
of the fundamental frequency 0 = 2/T0 rad/sec) of the signal:
x(t ) = X k e jk t
0
k=
T 0 +t0
1 jk 0 t
Xk =
T0 x (t )e dt
t0
for k = 0,1,2, . . . and any t 0. The form of the last equation indicates that the information
needed for the Fourier series can be obtained from any period of x(t).
MATLAB Code:
We will implement the following formula in Matlab to reconstruct original signal x(t).
x(t ) = Xk e
jk 0 t
k=
LAB TASKS;
Question 1:
Write a MATLAB to reconstruct the above sinusoidal signal. Also compare it with orinal signal by showing all
plots oiginal signal, its magnitude and phase line spectra and reconstructed signal.
Question 2:
Consider the periodic pulse train x(t) as shown in the figure, of fundamental period T0 = 1. Find its Fourier
series coefficients and also reconstruct the original signal:
Question 3:
Find Fourier Series coefficients using integral equation and perform reconstruction of the following plot. Also
plot the magnitude line spectra of signal x(t), of fundamental period T0 = 2.