Professional Documents
Culture Documents
Lab 03 Task
Lab 03 Task
(18B-016-CE)
SECTION E
GROUP B1
SPRING 2021
DIGITAL SIGNAL
PROCESSING
LAB 03 TASK
LAB TASK:
1. Find z – transform of following function and then inverse z-
transform to verify result using MATLAB.
a) x(n) = 2 * 2 n + 4(1 / 2) n
b) x(n) = 4^-n
1
DSP LAB 03 TASK WISHAH NASEER (18B-016-CE)
c) x(n)=Sin(n) + cos(n)
2
DSP LAB 03 TASK WISHAH NASEER (18B-016-CE)
b)
3
DSP LAB 03 TASK WISHAH NASEER (18B-016-CE)
DFT:
IDFT:
4
DSP LAB 03 TASK WISHAH NASEER (18B-016-CE)
b) cos (2*pi*90*t)
DFT:
IDFT:
5
DSP LAB 03 TASK WISHAH NASEER (18B-016-CE)
DFT:
IDFT:
6
DSP LAB 03 TASK WISHAH NASEER (18B-016-CE)
The audio file is read through a command called audioread. Firstly, I plotted the original audio
signal and then performed DFT and IDFT with same audioread command changing its variable
name. If I will use sound(c,x) command, I will be able to listen the audio file in the background.
The audio file that we are using must be saved at the same place where the MATLAB file is saved.