代码:javascript
clc clear s=-0.1+1j*pi/2; t=0:0.01:30; f=exp(s.*t); x=t; y=imag(f); z=real(f); plot3(x,y,z,'-black'); grid on hold on %画轴 y_0=zeros(size(t)); %获取y=0的点集 z_0=zeros(size(t)); %获取z=0的点集 plot3(x,y_0,z_0,'-black');
输出结果: html