:..【-1】clear;t=0:pi/50:2*pi;y1=sin(t);y2=sin(t).*exp(-t);y3=cos(t).*sin(t);plot(t,y1,'b:',t,y2,'gx',t,y3,'ro');【-1】clear;t=0:pi/50:2*【-1】clear;t=0:pi/50:2*pi;y1=sin(t);y2=sin(t).*exp(-t);y3=cos(t).*sin(t);plot(t,y1,'b:',t,y2,'gx',t,y3,'ro');【-1】clear;t=0:pi/50:2*pi;y1=sin(t);y2=sin(t).*exp(-t);y3=cos(t).*sin(t);plot(t,y1,'g-');holdon;plot(t,y2,'b:');plot(t,y3,'rp');title('y1,y2,y3函数');xlabel('X轴');ylabel('Y轴');legend('sin(x)','sin(x)*exp(x)','sin(x).cos(x)');holdoff;gri
MATLAB数据可视化 来自淘豆网m.daumloan.com转载请标明出处.