(New page: The frequency of sampling was waaay to long for the desired frequency. So I shortened the frequency until the proper frequency was achieved. <pre> F0 = 13; T0 = 1/F0; Ts = .05*T0; t = 0:...)
 
 
Line 9: Line 9:
 
plot(t,x)
 
plot(t,x)
 
</pre>
 
</pre>
 +
 +
[[Image:JAL_Hw2a2_ECE301Fall2008mboutin.JPG]]

Latest revision as of 09:32, 12 September 2008

The frequency of sampling was waaay to long for the desired frequency. So I shortened the frequency until the proper frequency was achieved.

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

JAL Hw2a2 ECE301Fall2008mboutin.JPG

Alumni Liaison

To all math majors: "Mathematics is a wonderfully rich subject."

Dr. Paul Garrett