How to calculate number links between leaves of hierarchical clustering?

5 views (last 30 days)
I want to calculate how many links separate between two leaves in a dendrogram of hierarchical clustering. Referring to the attached image:
One link separates between leaves 1 and 3.
Three links separate between leaves 1 and 4.
Thanks, Gat.

Answers (0)

Community Treasure Hunt

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

Start Hunting!