函数图像

clc,clear,clf

x1=0:0.1:10;

y1=x1.*exp(-3*x1);

h1=plot(x1,y1,'r--')

set(h1,'linewidth',6);

x2=0:0.1:2*pi;

y2=cos(0.5+3*sin(x2)./(1+x2.*x2));

hold on

h2=plot(x2,y2,'k-*');

set(h2,'Markersize',3);

legend('y1=x1.*exp(-3*x1)','y2=cos(0.5+3*sin(x2)./(1+x2.*x2))');

 

posted @ 2020-12-03 12:11  LeBronJames2018  阅读(46)  评论(0)    收藏  举报