摘要: 打开matlab,新建m文件,敲入以下代码后运行。x1=-1:0.001:-0.5;y1=0.25*x1-0.75;axis([-1.1,1.1,-1.1,1.1]);plot(x1,y1);hold onx2=-0.5:0.0001:-0.25;y2=0.5*x2-0.625;plot(x2,y2);x3=-0.25:0.00001:-0.125;y3=x3-0.5;plot(x3,y3);x4=-0.125:0.000001:-0.0625;y4=2*x4-0.375;plot(x4,y4);x5=-0.0625:0.0000001:-0.03125;y5=4*x5-0.25;plot(x 阅读全文
posted @ 2012-05-03 22:30 liangxiaxu 阅读(2468) 评论(0) 推荐(0) 编辑