I can not find important function
1 view (last 30 days)
Show older comments
hi, I found the following code of matlab in this link http://www.ideal.ece.utexas.edu/~gjun/ee379k/html/clustering/hac/page2.html
load c.txt;
P=pdist(c,'euclidean');
Z=linkage(P,'single');
T=cluster(Z,'MaxClust',2);
plot_clusters(c,T);
I tried it with my data , it is working except the last function , it is what I looked for , this function plot each cluster with different color
how can find it? please, i badly need it in my work.
thanks
7 Comments
Jan
on 29 Aug 2012
@huda: Thanks for your apology. Apologies are not useful here, but improving your style to ask question is. Most of all this would be an advantage for me, the forum and last but not least for yourself.
Answers (2)
huda nawaf
on 28 Aug 2012
Edited: huda nawaf
on 28 Aug 2012
10 Comments
Oleg Komarov
on 30 Aug 2012
As commented in your other post, with the similiarity matrix alone, all you can do is a dendrogram.
See Also
Categories
Find more on Logical 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!