Signals and Systems: Laboratory Manual
Signals and Systems: Laboratory Manual
(EL-223)
LABORATORY MANUAL
(Lab # 13)
Student Name:
Date performed:
Version: 3.00
Verified by: Dr. Waqas bin Abbas, Dr. Shahzad Updated: Spring 2020
Saleem
Lab 13 - Implementatin of DFT and IDFT using MATLAB
TASK-01: [MARKS = 4]
Find the DFT of the following sequence of data. Then find the IDFT of the resulted sequence and verify that
you get back the original sequence.
Note: - Use the formula of DFT and IDFT given in manual.
x[n] = [ −3 4 1 2]
TASK-02: [MARKS = 4]:
Let x 1 (t)=2 cos ( 2 π 100 t ) and x 2 (t)=sin ( 2 π 300 t ), x ( t )=x 1 ( t ) + x 2 ( t ) ;
Write a Matlab code to compute DFT of x (t) . Let Fs=1000. and N = 500 samples. The magnitude plot of
DFT should look like this.
TASK-03: [MARKS = 2 + 2 = 4]
a) Run the sampling code given in lab manual, change value of Fs at each time and fill table-1