I dont know how to plot this, since there is imaginary unit in the function, please help
x(t) = t^2 + j2πt, 0 ≤ t ≤ 10 , plot the approximate signals using 5 terms of the complex exponential form. This is what is got. Not sure if it right?
t0 = 0;
T = 10;
w = 2*pi/T
x = t^2 +(j*2*pi*t)
k = -2:2
a = (1/T)*int(x*exp(-1j*k*w*t),t,t0,t0+T);