SpatialMedian

SpatialMedian[{x1,x2,}]

gives the spatial median of the elements .

SpatialMedian[data]

gives the spatial median for several different forms of data.

Details and Options

Examples

open allclose all

Basic Examples  (3)

Find the spatial median of a list of vectors:

In[1]:=
Click for copyable input
Out[1]=

Find the spatial median of a list of vectors with given weights:

In[1]:=
Click for copyable input
Out[1]=

Compute the spatial median of geo locations:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Scope  (5)

Options  (4)

Applications  (8)

Properties & Relations  (5)

See Also

Mean  Median  TrimmedMean  WinsorizedMean  BiweightLocation  CentralFeature  DistanceMatrix

Introduced in 2017
(11.1)