Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

留个matlab代码 配合LS数据 调试用

Posted by rulez123 at 2014-03-07 00:12:15 on Problem 2986
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator