You are on page 1of 6

DIGITAL SIGNAL PROCESSING

LAB NO. 082

Submitted By:
Name: HAIDER ALI MUNIR
ID No: 170887
Class/Sec: BEEP V-B
Submitted To: MAM ANUM ZULQARNAIN
Instructor’s Remarks:

Submission Time: In Late in Working Days


Time 0 1 2 3 4 5

Marks: Total Marks Obtained Marks

Additional Remarks:
______________________________________________________
Instructor’sSignature:_____________
Objective:- The goal of this laboratory is to gain familiarity with the
discrete Fourier transform of the signals.
Q 8.1 Compute the Discrete Fourier transform of sequence x[n] = [2 3 5 9 8
7].MATLAB CODE:

plot:

Computation of the DFT of sequence of x[n]


Matlab code
RESULT:

Q 8.2 Compute the 16-Point DFT of the x[n] of your own choice.

MATLAB CODE :-

PLOT OF 16 POINT DFT:


Computation of the DFT of sequence of x[n]:

REZULT:-

x(k)=
1.0e+02 *

Columns 1 through 3

1.3600 -0.0800 + 0.4022i -0.0800 + 0.1931i

Columns 4 through 6

-0.0800 + 0.1197i -0.0800 + 0.0800i -0.0800 + 0.0535i

Columns 7 through 9
-0.0800 + 0.0331i -0.0800 + 0.0159i -0.0800 - 0.0000i

Columns 10 through 12

-0.0800 - 0.0159i -0.0800 - 0.0331i -0.0800 - 0.0535i

Columns 13 through 15

-0.0800 - 0.0800i -0.0800 - 0.1197i -0.0800 - 0.1931i

Column 16

-0.0800 - 0.4022i

Q 8.3 Compute the circular convolution on the signals x1[n]=[2,3,0,1], x2[n]=[1,2,4,6] in


Matlab And verify the result by hand written calculation on these two signals. Attach the
written solution too.

MATLAB code:

OUTPUT of circular convoluion:

HAND WRITTEN VERIFICATION:-

You might also like