T = cluster(Z, 'MaxClust', maxclust)
T = cluster(Z, 'Cutoff', cutoff, 'Criterion', 'distance')
cluster assigns observations to clusters by cutting a hierarchical cluster tree.
This version supports the distance criterion with MaxClust or Cutoff.
X = [0 0; 1 0; 0 2; 4 4];
Z = linkage(X);
T = cluster(Z, 'MaxClust', 2)
| Version | Description |
|---|---|
| 2.0.0 | initial version |