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

WISHAH NASEER

(18B-016-CE)
SECTION E
GROUP B1
SPRING 2021

DIGITAL SIGNAL
PROCESSING

LAB 03 TASK

PERFORMED ON: 31st MARCH 2021


SUBMISSION DATE:16TH APRIL 2021
DSP LAB 03 TASK WISHAH NASEER (18B-016-CE)

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)

d) x(n) = (1/2)^n +2*n +n^2

2
DSP LAB 03 TASK WISHAH NASEER (18B-016-CE)

2. Find Pole zero diagram of following Function.


a)

b)

3
DSP LAB 03 TASK WISHAH NASEER (18B-016-CE)

3. Take DFT and IDFT of following signals x(n)


a) sin (4*pi*60*t)

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)

c) sin (2*pi*15*t) + sin(2*pi*40*t)

DFT:

IDFT:

6
DSP LAB 03 TASK WISHAH NASEER (18B-016-CE)

OPEN ENDED TASK:


Take any .wav file and perform DFT and IDFT. And give comments.

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.

You might also like