Revision as of 10:14, 12 September 2008 by Johns311 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The time step is too big, so each time it samples at the time step it is pulling a point from a different cycle. It's doing a discrete time sample on a continuous function and making it look like a continuous function by connecting the points. To fix this, make the time step smaller.


F0 =13; 

T0 =1/F0; 

Ts = 0.0005;

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