(New page: == 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 ca...)
 
(Explanation)
 
Line 1: Line 1:
 
== Explanation ==
 
== 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.
 
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
 +
 +
<pre>
 +
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);
 +
</pre>

Latest revision as of 17:20, 12 September 2008

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

Meet a recent graduate heading to Sweden for a Postdoctorate.

Christine Berkesch