(→Modified code) |
(→Modified code) |
||
Line 5: | Line 5: | ||
T0 = 1/F0; | T0 = 1/F0; | ||
− | Ts = 0. | + | Ts = 0.001; |
− | t = 0: | + | 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) |
Revision as of 09:15, 11 September 2008
Modified code
F0 = 13;
T0 = 1/F0;
Ts = 0.001;
t = 0:Ts:13*T0;
x = real(exp(j*(2*pi*F0*t-pi/2)));
plot(t,x)