0% found this document useful (0 votes)
33 views2 pages

Objective: Study of Discrete Time Fourier Transform in Mat Lab. Code

This lab report describes a study of the discrete time Fourier transform using Matlab. The student Fatima Masood with roll number 2k9-CSE-153 performed an experiment on January 1st, 2013 to generate and plot the real part, imaginary part, magnitude, and phase spectra of a filter's frequency response using the freqz function in Matlab. The lab work was checked by Engineer Tahir Mahmood.

Uploaded by

Khadija Ali
Copyright
© Attribution Non-Commercial (BY-NC)
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)
33 views2 pages

Objective: Study of Discrete Time Fourier Transform in Mat Lab. Code

This lab report describes a study of the discrete time Fourier transform using Matlab. The student Fatima Masood with roll number 2k9-CSE-153 performed an experiment on January 1st, 2013 to generate and plot the real part, imaginary part, magnitude, and phase spectra of a filter's frequency response using the freqz function in Matlab. The lab work was checked by Engineer Tahir Mahmood.

Uploaded by

Khadija Ali
Copyright
© Attribution Non-Commercial (BY-NC)
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/ 2

Name: Fatima Masood Roll #: 2k9-CSE-153

LAB #11
Date:1st January,2013

Objective: Study of Discrete Time Fourier Transform in Mat lab. Code:


w=-4*pi:8*pi/511:4*pi num=[2 1] den=[1 -0.6] h=freqz(num,den,w) subplot(2,2,1) plot(w/pi,real(h)) grid title('real part of h') xlabel('w/pi') ylabel('amplitude') subplot(2,2,2) plot(w/pi, imag(h)) grid title('imaginary part of H(w/pi)') xlabel('w/pi') ylabel('amplitude') subplot(2,2,3)

Checked by: Engr.Tahir Mahmood

Name: Fatima Masood Roll #: 2k9-CSE-153

LAB #11
Date:1st January,2013 plot(w/pi,abs(h)) grid title('magnitude spectrum') xlabel('w/pi') ylabel('amplitude') subplot(2,2,4) plot(w/pi, phase(h)) title('phase spectrum') xlabel('w/pi') ylabel('phase radians') grid

Checked by: Engr.Tahir Mahmood

You might also like