close all clear all clc T = 0.01; t = 0:T:5; v_a = [-1,0,1]; om = 2*pi; for a = v_a x = 100*exp((a+1i*om)*t); figure subplot(2,4,1) plot(t,abs(x)) xlabel('t') title('abs(x(t))') grid subplot(2,4,2) plot(t,angle(x)) xlabel('t') title('angle(x(t))') grid %figure subplot(2,4,5) plot(t,real(x),t,abs(x),t,-abs(x)) grid xlabel('t') title('real(x(t))') subplot(2,4,6) plot(t,imag(x),t,abs(x),t,-abs(x)) grid xlabel('t') title('imag(x(t))') %figure subplot(1,2,2) plot3(t,real(x),imag(x)) grid xlabel('t') ylabel('real(x)') zlabel('imag(x)') title('x(t)') end