alpha=-0.2+2j;C=0.5+0.7j;dd=0.1;t=[-10:dd:10];yt=C*exp(alpha*t);clfsubplot('position',[0.050.060.91.1])% so png's clip nicely% plot the continuous curveplot3(t,real(yt),imag(yt),'green')axis([-1010-88-88]);axissquareset(0,'defaultAxesTickLabelInterpreter','latex');set(0,'defaultLegendInterpreter','latex');% labels (in latex)xlabel('continuous time $t$','Interpreter','Latex','FontSize',14)ylabel('real part','FontSize',14)zlabel('imag part','FontSize',14)h=text(-10,4,8,'$x(t)=(0.5+0.7j)\,e^{(-0.2+2j)t}$','FontSize',18);shg;pause(2);% flash up the CT complex exponential% output CT complex exponential to png fileset(gcf,'PaperUnits','inches','PaperPosition',[0065])%150dpisaveas(gcf,'figures/ct-cmplxexp','png')holdon;% we will overlay the CT complex exponential with the DT complex exponential% plot the discrete pointsn=[-10:10];yn=C*exp(alpha*n);plot3(n,real(yn),imag(yn),'*')% labels (in latex)xlabel('discrete time $n$','Interpreter','Latex','FontSize',14)delete(h);% remove old CT text labeltext(-10,4,8,'$x[n]=(0.5+0.7j)\,\beta^n,\quad \beta=e^{-0.2+2j}$','FontSize',18)% output DT complex exponential to png fileset(gcf,'PaperUnits','inches','PaperPosition',[0065])%150dpisaveas(gcf,'figures/dt-cmplxexp','png')holdoff;shg