T = clusterdata(X, 'MaxClust', maxclust)
T = clusterdata(X, 'Cutoff', cutoff, 'Criterion', 'distance')
T = clusterdata(..., 'Linkage', method)
T = clusterdata(..., 'Distance', metric)
clusterdata groups rows of X by building a hierarchical cluster tree and cutting it into clusters.
This version supports the distance criterion with MaxClust or Cutoff. Linkage and distance options are passed to linkage.
X = [0 0; 1 0; 0 2; 4 4];
T = clusterdata(X, 'MaxClust', 2)
| Version | Description |
|---|---|
| 2.0.0 | initial version |