【例2.1-1】绘制函数 x=0:0.1:1 y=x.*exp(-x) plot(x,y),xlabel('x'),ylabel('y'),title('y=x*exp(-x)') x = Columns 1 through 7 0 0.1000 0.2000 0.3000 0.4000 0.5000 0.6000 Columns 8 through 11 0.7000 0.8000 0.9000 1.0000 y = Columns 1 through 7 |