(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<pre>
 
<pre>
 +
We do not sample the function enough to get an accurate portrayal of the signal.
 +
I changed the sample rate to take 25 samples per period.
 +
 
F0 =13;
 
F0 =13;
 
T0 =1/F0;
 
T0 =1/F0;
Ts = 0.07;
+
Ts = 1/(F0*25);
 
t  = 0:Ts:13*T0;
 
t  = 0:Ts:13*T0;
 
x = real(exp(j*(2*pi*F0*t-pi/2)));
 
x = real(exp(j*(2*pi*F0*t-pi/2)));
 
plot(t,x)
 
plot(t,x)
 
</pre>
 
</pre>

Latest revision as of 11:49, 7 September 2008

We do not sample the function enough to get an accurate portrayal of the signal. 
I changed the sample rate to take 25 samples per period.

F0 =13;
T0 =1/F0;
Ts = 1/(F0*25);
t  = 0:Ts:13*T0;
x = real(exp(j*(2*pi*F0*t-pi/2)));
plot(t,x)

Alumni Liaison

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

Dr. Paul Garrett