Revision as of 17:20, 12 September 2008 by Chen18 (Talk)

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

Explanation

After running the code in the Matlab, realizing that the Ts = 0.07 value is almost as big as T0=1/13=0.76. Therefore, the step is to big for the program to have a good calculation.

Solution

Decreasing the value for Ts in respect to the T0 , so Ts is very small compare to T0

F0=13;
T0=1/f0;
Ts=0.007;         &Ts it's now 0.007, it was 0.007 before
t=0:Ts:13*T0;
x=real(exp(j*(2*pi*f0*t-pi/2)));
plot(t,x);

Alumni Liaison

Questions/answers with a recent ECE grad

Ryne Rayburn