Revision as of 16:34, 11 September 2008 by Pjcannon (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 graph produced by this code is a wave that appears "blocky". There reason for this is because the sampling step is too large. By roducing it, Matlab will generate more points along the wave, fixing the form. Below is an example of how to fix this problem:

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)

Alumni Liaison

Meet a recent graduate heading to Sweden for a Postdoctorate.

Christine Berkesch