Matlab Function find sum of Euclidean distances from a given 2-D point
12 views (last 30 days)
Can someone help me with the following question?
Create a Matlab function to find the sum of straight-line (Euclidean) distances from a given 2-D point x to the set S of k other 2-D points.
S=[2 6; 2 -1; 3 3];