Untitled.m
上传用户:shigeng
上传日期:2017-01-30
资源大小:122k
文件大小:0k
开发平台:

Matlab

  1. x1=0:10:900;
  2. y1=sqrt(-(x1-450).^2+450^2);
  3. x2=900:10:1800;
  4. y2=-sqrt(-(x2-1350).^2+450^2);
  5. x3=1800:3000;
  6. y3=0;
  7. figure;
  8. plot(x1,y1,'k',x2,y2,'k',x3,y3,'k');