SpatialMedian

SpatialMedian[matrix]
gives the spatial median of the elements in matrix.

更多信息更多信息

  • To use , you first need to load the Multivariate Statistics Package using Needs["MultivariateStatistics`"].
  • SpatialMedian[matrix] gives the vector minimizing the sum of Euclidean distances from to the elements of matrix.