Hierarchical Clustering - linkage(y)
Show older comments
Hi,
I don't fully understand the linkage function and its outputs.
>> x=[1 2 6 8]';
>> y=pdist(x)
y =
1 5 7 4 6 2
>> Z=linkage(y)
Z =
1 2 1
3 4 2
5 6 4
For Z, what does the first and second column stand for? What is the third column? How was the third column calculated based on the input data x and y?
Accepted Answer
More Answers (0)
Categories
Find more on Hierarchical Clustering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!