(New page: <pre> %{ 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 t...)
 
 
Line 1: Line 1:
  
 +
== Part B ==
  
 
<pre>
 
<pre>
Line 20: Line 21:
 
plot(t, x);
 
plot(t, x);
 
</pre>
 
</pre>
 +
 +
 +
[[Image:hw2partB_ECE301Fall2008mboutin.jpg]]

Latest revision as of 12:38, 12 September 2008

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

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett