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);