You are on page 1of 3

Pamantasan ng Cabuyao

College of Computing and Engineering


1ST SEMESTER & A.Y. 2022-2023

MODULE

4 Digital Signal Processing

Name Luigie C. Legaspi Score

Section 4-CpE-A Instructor Engr. Oliver A. Medina Date 09/09/


22

LABORATORY

Objective:
• Appreciate the importance of such signal Transformation
• Understand the concept of transformation
• Familiarity on conversion methods techniques using Signal transform

Grading Matrix

Source Content 20 pts


Correct Analysis 10 pts
Documentation Details 10 pts
Presentation 10 pts

DISCRETE-TIME FOURIER TRANSFORM

DTFT Computation : Compute the frequency samples of the DTFT

A copy of Program P3_1 is given below:

% Program P3_1
% Evaluation of the DTFT
clf;
%
w = -4*pi:8*pi/511:4*pi;
num = [2 1];den = [1 -0.6];
h = freqz(num, den, w);
% Plot the DTFT
subplot(2,1,1)
plot(w/pi,real(h));grid
title('Real part of H(e^{j\omega})')
xlabel('\omega /\pi');
ylabel('Amplitude');

Copyright Disclaimer

Fair use of a Copyrighted Work as defined in section 185 of RA 8293, which states, “The fair use of copying, criticism, comment, news reporting, teaching including
multiple copies for classroom use, research and similar purposes is not infringement of copyright.” These lecture handouts are prepared and compiled by Engr. Oliver
A. Medina solely for students of Pamantasan ng Cabuyao (PnC)
Pamantasan ng Cabuyao
College of Computing and Engineering
1ST SEMESTER & A.Y. 2022-2023

subplot(2,1,2)
plot(w/pi,imag(h));grid
title('Imaginary part of H(e^{j\omega})')
xlabel('\omega /\pi');
ylabel('Amplitude');

pause

subplot(2,1,1)
plot(w/pi,abs(h));grid
title('Magnitude Spectrum |H(e^{j\omega})|')
xlabel('\omega /\pi');
ylabel('Amplitude');

subplot(2,1,2)
plot(w/pi,angle(h));grid
title('Phase Spectrum arg[H(e^{j\omega})]')
xlabel('\omega /\pi');
ylabel('Phase in radians');

a. The expression of the DTFT being evaluated in Program P3_1 is


The function of the pause command is used to stop the program from performing.

b. The plots generated by running Program P3_1 show the graphs

Copyright Disclaimer

Fair use of a Copyrighted Work as defined in section 185 of RA 8293, which states, “The fair use of copying, criticism, comment, news reporting, teaching including
multiple copies for classroom use, research and similar purposes is not infringement of copyright.” These lecture handouts are prepared and compiled by Engr. Oliver
A. Medina solely for students of Pamantasan ng Cabuyao (PnC)
Pamantasan ng Cabuyao
College of Computing and Engineering
1ST SEMESTER & A.Y. 2022-2023

c. The DTFT is a _periodic_ function of ω.


Its period is - 2π
The types of symmetries exhibited by the four plots.
- Given that the value is solely positive, the Real Part is Even Symmetric.
- Since the values on the graph of the imaginary part vary between positive and negative, it is
oddly symmetric.
- Magnitude Spectrum is Even Symmetric
- Phase Spectrum is Odd Symmetric

Copyright Disclaimer

Fair use of a Copyrighted Work as defined in section 185 of RA 8293, which states, “The fair use of copying, criticism, comment, news reporting, teaching including
multiple copies for classroom use, research and similar purposes is not infringement of copyright.” These lecture handouts are prepared and compiled by Engr. Oliver
A. Medina solely for students of Pamantasan ng Cabuyao (PnC)

You might also like