how to find cluster centroid?

i hav clusterd my image into three clusters. Now how to find the cluster centroids?

Réponses (2)

Amateuromania
Amateuromania le 9 Oct 2012

0 votes

if you are storing the cluster points' values, you can use kmeans() function.
bes
bes le 9 Oct 2012

0 votes

[IDX,C] = kmeans(X,k)

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox 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!

Translated by