Get Cluster "Distances"

Parse a SAHN tree to obtain the distances associated with nodes representing clusters
483 Downloads
Updated 15 Nov 2010

View License

Input a SAHN tree (e.g. the result of a call to linkage) and the number, n, of clusters into which the SAHN tree is to be partitioned (e.g. by the function cluster). Output is a list of distances where the i'th distance corresponds to cluster i as produced by a call to cluster to produce n clusters. Each "distance" is the number associated with the node at the "root" of each cluster, i.e. the distance between the final two sub-clusters merged to produce the i'th cluster.

Cite As

David Snyder (2024). Get Cluster "Distances" (https://www.mathworks.com/matlabcentral/fileexchange/29406-get-cluster-distances), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0