Hierarchical clustering

Hierarchical clustering and dendrogram (WPGMA and UPGMA methods)
2K Downloads
Updated 2 May 2016

View License

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
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

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

Description correction.