此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本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]=