dendrogram関数の結果から、閾値以下のグループ数をカウントする方法について
Mostrar comentarios más antiguos
以下のコードを実行すると閾値0.4以下のノードが4色に塗り分けられますが、塗り分けられた色の数(グループの数)をカウントする方法はないでしょうか?
rng('default')
X = rand(20,2);
tree = linkage(X,'average');
dendrogram(tree,0,'ColorThreshold',0.4);
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre クラスターの可視化と評価 en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!