Line 1: | Line 1: | ||
− | The problem was that Ts (1/Sampling Frequency) was not smaller enough which means the Sampling frequency was not big enough. The Sampling Frequency should have been at least bigger than 2*pi*F0 and Ts should have been smaller | + | The problem was that Ts (1/Sampling Frequency) was not smaller enough which means the Sampling frequency was not big enough. The Sampling Frequency should have been at least bigger than 2*pi*F0 and Ts should have been smaller <math>{1 \over 4\pi\varepsilon_0}\frac{q_1q_2}{r^2}</math>, |
<pre> | <pre> |
Revision as of 16:22, 9 September 2008
The problem was that Ts (1/Sampling Frequency) was not smaller enough which means the Sampling frequency was not big enough. The Sampling Frequency should have been at least bigger than 2*pi*F0 and Ts should have been smaller $ {1 \over 4\pi\varepsilon_0}\frac{q_1q_2}{r^2} $,
F0 =13; T0 =(1/F0); Ts = 0.0001; t = 0:Ts:13*T0; x = real(exp(j*(2*pi*F0*t-pi/2))); plot(t,x) %F0 =13; %T0 =1/F0; %Ts = 0.07; %t = 0:Ts:13*T0; %x = real(exp(j*(2*pi*F0*t-pi/2)));