dendrogram関数の結果から、閾値以下のグループ数をカウントする方法について
Afficher commentaires plus anciens
以下のコードを実行すると閾値0.4以下のノードが4色に塗り分けられますが、塗り分けられた色の数(グループの数)をカウントする方法はないでしょうか?
rng('default')
X = rand(20,2);
tree = linkage(X,'average');
dendrogram(tree,0,'ColorThreshold',0.4);
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur クラスターの可視化と評価 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!