0% found this document useful (0 votes)
88 views9 pages

Laboratory 10: Discrete Fourier Transform: Exercise

This document outlines 7 tasks for a laboratory exercise on the discrete Fourier transform (DFT). The tasks include computing the DFT of sample data sequences using commands and the fast Fourier transform (FFT), plotting the magnitude and phase graphs of the results, taking the inverse DFT to recover the original sequence, designing a DFT algorithm in MATLAB, and applying it to additional examples. Solutions are provided for each task.

Uploaded by

Faraz Abbas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
88 views9 pages

Laboratory 10: Discrete Fourier Transform: Exercise

This document outlines 7 tasks for a laboratory exercise on the discrete Fourier transform (DFT). The tasks include computing the DFT of sample data sequences using commands and the fast Fourier transform (FFT), plotting the magnitude and phase graphs of the results, taking the inverse DFT to recover the original sequence, designing a DFT algorithm in MATLAB, and applying it to additional examples. Solutions are provided for each task.

Uploaded by

Faraz Abbas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Digital Signal Processing (CE-405) SSUET/QR/114

LABORATORY 10:

DISCRETE FOURIER TRANSFORM

EXERCISE

Task #1: Data sequence is given as follows:


xn = {1 0 0 1}

Compute by command the DFT function Xk.

SOLUTION:

Task #2: Use FFT command to compute the DFT function for the given data sequence in Task #1.

SOLUTION:
-Department Of Computer Engineering-
-Sir Syed University Of Engineering & Technology-
Page 1
Digital Signal Processing (CE-405) SSUET/QR/114

-Department Of Computer Engineering-


-Sir Syed University Of Engineering & Technology-
Page 2
Digital Signal Processing (CE-405) SSUET/QR/114

Task #3: Plot the magnitude and phase graphs of DFT function of Task #2 in separate window.

SOLUTION:

Task #4: Plot an sequence. Where a=0.8 and define at n=0 to 35. Find its DFT, plot its magnitude and
phase graphs also.

SOLUTION:

-Department Of Computer Engineering-


-Sir Syed University Of Engineering & Technology-
Page 3
Digital Signal Processing (CE-405) SSUET/QR/114

-Department Of Computer Engineering-


-Sir Syed University Of Engineering & Technology-
Page 4
Digital Signal Processing (CE-405) SSUET/QR/114

Task #5: Take IDFT of the results of Task #2 and verify that it gives you the same sequence as mention
in Task #1.

SOLUTION:

-Department Of Computer Engineering-


-Sir Syed University Of Engineering & Technology-
Page 5
Digital Signal Processing (CE-405) SSUET/QR/114

Task #6: Design a DFT algorithm on MATLAB. The DFT is defined by the formula

SOLUTION:

-Department Of Computer Engineering-


-Sir Syed University Of Engineering & Technology-
Page 6
Digital Signal Processing (CE-405) SSUET/QR/114

-Department Of Computer Engineering-


-Sir Syed University Of Engineering & Technology-
Page 7
Digital Signal Processing (CE-405) SSUET/QR/114

Task#7

SOLUTION:

-Department Of Computer Engineering-


-Sir Syed University Of Engineering & Technology-
Page 8
Digital Signal Processing (CE-405) SSUET/QR/114

-Department Of Computer Engineering-


-Sir Syed University Of Engineering & Technology-
Page 9

You might also like