用于在matlab中提取具有相同半径的3个相交圆之间的节点(点)的代码
Dist_Source_Neighbour(i)=((SourceX - NodeX(i))^2 + (SourceY-NodeY(i))^2)^(0.5);
Angle_Source_Neighbour(i)=atan2(NodeY(i)-SourceY, NodeX(i)-SourceX )* 180/pi;
Distance_between_Centers(i) = ((SourceX - NodeX(i))^2 + (SourceY-NodeY(i))^2)^(0.5);
Sum_of_neigbour_radius = 2*radius;
我刚试过这个但是没有用!