摘要: function myCircle(x, y)%给两个点的坐标,以一个点为圆心 x =[a,b] ,长度为半径plot([x(1),y(1)],[x(2),y(2)],'--rs','LineWidth',2,... 'MarkerEdgeColor','k',... 'MarkerFaceColor','g',... 'MarkerSize',1);hold on for theta=0:0.1:360 x1 = cos(theta/180*pi) * (y(1)-x(1)) - 阅读全文
posted @ 2011-12-02 00:19 Let it be! 阅读(1320) 评论(0) 推荐(1) 编辑