Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
留个matlab代码 配合LS数据 调试用for k=1:3 x(k)=input(''); y(k)=input(''); end x(4)=x(1);y(4)=y(1); plot(x,y); c(1)=input('');c(2)=input(''); r=input(''); phi=0:0.001:2*pi; a=r*cos(phi); b=r*sin(phi); hold on;plot(a+c(1),b+c(2)); hold on;plot(c(1),c(2),'o'); 输入格式和题目一样 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator