Revision as of 13:38, 12 September 2008 by Jwise (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Abstract algebra continues the conceptual developments of linear algebra, on an even grander scale.

Dr. Paul Garrett