HierarchicalClustering`
HierarchicalClustering`

DistanceMatrix

As of Version 10.3, DistanceMatrix is built into the Wolfram System.

DistanceMatrix[list]

gives a matrix of distances or dissimilarities between the elements of list.

Details and Options

Examples

open allclose all

Basic Examples  (1)

In[1]:=
Click for copyable input

Distance matrix for a list of numbers:

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

Options  (1)

See Also

DirectAgglomerate

Tutorials