I can not find important function
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Jan
2012년 8월 29일
@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.
답변 (2개)
huda nawaf
2012년 8월 28일
편집: huda nawaf
2012년 8월 28일
댓글 수: 10
Oleg Komarov
2012년 8월 30일
As commented in your other post, with the similiarity matrix alone, all you can do is a dendrogram.
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!