(New page: Supplied code: <pre> F0=13; T0=1/F0; Ts=0.07; t=0:Ts:13*T0; x=real(exp(j*(2*pi*F0*t-pi/2))); plot(t,x) </pre>) |
|||
Line 9: | Line 9: | ||
plot(t,x) | plot(t,x) | ||
</pre> | </pre> | ||
+ | |||
+ | The problem with the code is that Ts is too large. If Ts were to be 0.007 or even better, 0.0007, then there are 13 cycles displayed. |
Latest revision as of 11:51, 10 September 2008
Supplied code:
F0=13; T0=1/F0; Ts=0.07; t=0:Ts:13*T0; x=real(exp(j*(2*pi*F0*t-pi/2))); plot(t,x)
The problem with the code is that Ts is too large. If Ts were to be 0.007 or even better, 0.0007, then there are 13 cycles displayed.