Core points of clusters
Afficher commentaires plus anciens
I need to find the center points of a clusters. I used dbscan for clustering. Now I need to find the core points of these clusters. I used the corepts,but it gives the logical array. How can I find the core points of those clusters or atleast a point contained in those clusters. Anybody please help me.
[idx, corepts] = dbscan(asc,epsilon,minpts);
7 commentaires
Have you read the documentation? I don't have the stat toolbox myself so I can't test it, but it looks like the logical array should be easy to use. Have you ever used logical indexing?
sreelekshmi ms
le 25 Fév 2020
Rik
le 25 Fév 2020
Logical indexing works like this:
v=[9 6 3 8];
L=[true false true false];
v(L)
You could use find to convert the logical array into indices, but that step in not necessary:
find(L) %returns [1 3]
sreelekshmi ms
le 25 Fév 2020
Rik
le 25 Fév 2020
v(L)
sreelekshmi ms
le 25 Fév 2020
sreelekshmi ms
le 7 Mar 2020
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur k-Means and k-Medoids Clustering 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!

