hw3_600(2)

hw3_600(2) - ECE-600 Homework#3 Introduction to Digital...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE-600 Introduction to Digital Signal Processing Autumn 2010 Homework #3 Oct. 8, 2010 HOMEWORK ASSIGNMENT #3 Due Fri. Oct. 15, 2010 (in class) 1. The following matlab routine helps to visualize the sampling of a complex sinusoid: f0 = 1; T = 0.1; n = [0:49]; x = exp(j*2*pi*T*f0*n); for i=1:length(n), plot([0,real(x(i))],[0,imag(x(i))],’o-’); axis([-1,1,-1,1]); axis(’square’) title([’exp(j*2*pi*T*f0*n) for T=’,num2str(T),. .. ’ and f0=’,num2str(f0),’ and n=’,num2str(n(i))]) drawnow; pause(0.2) end; Above, f 0 (written as “ f0 ”) is the frequency of the complex sinusoid in Hz and T (written as “ T ”) is the sampling rate in samples/second. (a) Run the code for f 0 = 1, and describe what happens. Link the behavior to the value of the DTFT frequency ω 0 = 2 πf 0 T (in radians/sample). (b) Run the code for f 0 = 11, and describe what happens. How does it compare to part (a)? Link the behavior to the value of the DTFT frequency
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

hw3_600(2) - ECE-600 Homework#3 Introduction to Digital...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online