Ch3Handouts_2

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ncies between 0 and 2π given by the vector w at a prescribed set of discrete frequency points ω = ωl 16 Copyright © 2005, S. K. Mitra Copyright © 2005, S. K. Mitra DTFT Computation Using MATLAB DTFT Computation Using MATLAB • There are several other forms of the function freqz • Program 3_1.m in the text can be used to compute the values of the DTFT of a real sequence • It computes the real and imaginary parts, and the magnitude and phase of the DTFT 17 • Example - Plots of the real and imaginary parts, and the magnitude and phase of the DTFT 0.008 − 0.033 e − jω + 0.05 e − j 2ω X ( e jω ) = 18 Copyright © 2005, S. K. Mitra − 0.033 e − j 3ω + 0.008 e − j 4ω 1 + 2.37 e − jω + 2.7 e − j 2ω + 1.6 e − j 3ω + 0.41e − j 4ω are shown on the next slide Copyright © 2005, S. K. Mitra 3 DTFT Computation Using MATLAB Real part Imaginary part 0.5 Amplitude 1 0.5 0 -0.5 0 0.5 -1 0 0.2 0.4 0.6 0.8 1 1 ω/π 0.2 0.4 ω /π 0.6 0.8 1 Unwrapped Phase Spectrum 0 4 0.8 -1 2 Phase, radians Magnitude 0 Phase Spectrum Magnitude Spectrum 1 0.6 0.4 0 -2 0.2 0 • Note: The phase spectrum displays a discon...
View Full Document

This document was uploaded on 11/09/2013.

Ask a homework question - tutors are online