Part B

%{
  Jeremiah Wise
  9/12/08
  HW #2 Part B
  
  This program plots and displays 13 cycles of a 13 Hz sinusoid. The
  problem with the original program was that the time step was too
  small.
%}

Fo = 13;
To = 1 / Fo;
Ts = 0.0007;
t = [0 : Ts : (13 * To)];

x = real(exp(j * (2 * pi * Fo * t - pi/2)));
plot(t, x);


Hw2partB ECE301Fall2008mboutin.jpg

Alumni Liaison

Have a piece of advice for Purdue students? Share it through Rhea!

Alumni Liaison