资 源 简 介
for
j=1:10000
R=rand(10000,1);
a(j)=R(j);
g1=((A(1,1)-x(1,1))^2+(A(1,2)-x(1,2))^2)^0.5+((A(1,1)-x(2,1))^2+(A(1,2)-x(2,2))^2)^0.5+((A(1,1)-A(2,1))^
2+(A(1,2)-A(2,2))^2)^0.5;
g2=((A(2,1)-A(3,1))^2+(A(2,2)-A(3,2))^2)^0.5+((A(2,1)-A(1,1))^2+(A(2,2)-A(1,2))^2)^0.5;
g3=((A(3,1)-x(4,1))^2+(A(3,2)-x(4,2))^2)^0.5+((A(3,1)-x(3,1))^2+(A(3,2)-x(3,2))^2)^0.5+((A(3,1)-A(2,1))^
2+(A(3,2)-A(2,2))^2)^0.5;
g4=((A(4,1)-x(4,1))^2+(A(4,2)-x(4,2))^2)^0.5+((A(4,1)-A(6,1))^2+(A(4,2)-A(6,2))^2)^0.5+((A(4,1)-A(5,1))