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)

Distance matrix for a list of numbers:

Options  (1)

DistanceFunction  (1)

Distance matrix using ManhattanDistance: