This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: ECE-600 Introduction to Digital Signal Processing Winter 2011 Homework #3 Jan. 21, 2011 HOMEWORK ASSIGNMENT #3 Due Fri. Jan. 28, 2011 (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; In particular, it illustrates what happens when the complex sinusoid x ( t ) = e j 2 f t is sampled every T seconds to yield x [ n ] = x ( nT ). Here, f (written as f0 in the code) represents the signal frequency in Hz. (a) Run the code for f = 1, and describe what happens. (b) Run the code for f = 11, and describe what happens. Relate the behavior you observe to the frequency = 2 f T (in radians/sample). How does it compare to part (a)?...
View Full Document