SpatialMedian

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

DetailsDetails

  • 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.
New to Mathematica? Find your learning path »
Have a question? Ask support »