In this function, a = 0.5 and w = 4p . The plots are shown for a duration of 2 s.
We can extract the real and the imaginary parts and plot these functions.

Plot of the Imaginary part of the damped sinusoid signal

Plot of the Real part of the damped sinusoid signal
source: http://www.netlecturer.com/NTOnLine/T13_SIGNALS/p03CompFreq.htm