(New page: ==Problem with MATLAB 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> The problem with the above MATLAB code is that the ...)
(No difference)

Revision as of 14:06, 11 September 2008

Problem with MATLAB 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 above MATLAB code is that the time vector interval (0.07) is too small compared to the period of the signal which is 1/13 $ \approx $ 0.0769

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood