This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

SpatialMedian

SpatialMedian[matrix]
gives the spatial median of the elements in matrix.
  • SpatialMedian[matrix] gives the vector minimizing the sum of Euclidean distances from to the elements of matrix.
Needs["MultivariateStatistics`"]
Spatial median for trivariate data:
In[2]:=
Click for copyable input
Out[2]=