I have a list of coordinates in 2D space (x i, y i) How to find the coordinate (X, Y) so that the distance between it and other given coordinates is minimal? Is there a mathematical formula for solving (X, Y)?
Let me give you an example. Suppose I have a list co.ordinates (0,0); (1.0); (0,1); (- 1.0); (0, -1); Now I have to find possible co.ordinate (s) (one or many), so that the resulting co.ordination is at a minimum distance from all points. in this case (0,0).
As Voo said, this is my requirement:
Find a point that minimizes the sum of the distances to the points in a given set
Jeevi source
share