Wolfram Computation Meets Knowledge

SimplexMedian

Contributed by: Wolfram Research

Get the simplex median of the elements of a matrix

ResourceFunction["SimplexMedian"][matrix]

gives a simplex median of the elements in matrix.

Details and Options

ResourceFunction["SimplexMedian"][matrix] gives a vector x~ minimizing the sum of the volumes of the p-dimensional simplices formed by the elements of matrix and x~.

Examples

Basic Examples

Simplex median for bivariate data:

In[1]:=
ResourceFunction["SimplexMedian"][{{0, 1}, {2, 3}, {3, 4}}]
Out[1]=

Resource History