Matlab Code
This matlab code will achieve the desired results. All I did was make the Ts value 1/10 of its original value. What was happening was the sampling rate was too large and even though it looked a little like a sine wave, we were really getting parts from different periods connected together.
F0 = 13; T0 = 1/F0; Ts = 0.007; t = 0:Ts:13*T0; x = real(exp(j*(2*pi*F0*t-pi/2))); plot(t,x)