cluster
Construct clusters from a hierarchical cluster tree.
📝Syntax
T = cluster(Z, 'MaxClust', maxclust)
T = cluster(Z, 'Cutoff', cutoff, 'Criterion', 'distance')
📄Description

cluster assigns observations to clusters by cutting a hierarchical cluster tree.

This version supports the distance criterion with MaxClust or Cutoff.

💡Examples
X = [0 0; 1 0; 0 2; 4 4];
Z = linkage(X);
T = cluster(Z, 'MaxClust', 2)
🔗See Also
linkage
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub