dendrogram関数の結果から、閾値以下のグループ数をカウントする方法について
Mostra commenti meno recenti
以下のコードを実行すると閾値0.4以下のノードが4色に塗り分けられますが、塗り分けられた色の数(グループの数)をカウントする方法はないでしょうか?
rng('default')
X = rand(20,2);
tree = linkage(X,'average');
dendrogram(tree,0,'ColorThreshold',0.4);
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su クラスターの可視化と評価 in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!