Hierarchical clustering
This function defines the hierarchical clustering of any matrix and displays the corresponding dendrogram.
The hierarchical clustering is performed in accordance with the following options:
- Method: WPGMA or UPGMA
- Metric: any anonymous function defined by user to measure vectors dissimilarity
- Clustering parameter: number of clusters or dissimilarity limit
The function returns the linkage tree, the clusters, the list of ranked items and optionally the dendrogram calculated on the basis of dissimilarity matrices.
Video demonstrations:
https://www.youtube.com/watch?v=cPzd-574D1I&list=PLJXyTqQS4FL3QoWdlGj0WtT7nSYKWqBxv&index=3&ab_channel=Pseudonymeoriginal
https://www.youtube.com/watch?v=EgZ2XF9rNXM&index=2&list=PLJXyTqQS4FL3QoWdlGj0WtT7nSYKWqBxv&ab_channel=Pseudonymeoriginal
https://www.youtube.com/watch?v=KvCKnkzNmXI&index=1&list=PLJXyTqQS4FL3QoWdlGj0WtT7nSYKWqBxv&ab_channel=Pseudonymeoriginal
Cite As
Eric Ogier (2024). Hierarchical clustering (https://www.mathworks.com/matlabcentral/fileexchange/56844-hierarchical-clustering), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Operational modal analysis with automated SSI-COV algorithm
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Hierarchical_clustering/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Description correction. |