how to find cluster centroid?

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

Answers (2)

Amateuromania
Amateuromania on 9 Oct 2012
if you are storing the cluster points' values, you can use kmeans() function.
bes
bes on 9 Oct 2012
[IDX,C] = kmeans(X,k)

Asked:

on 9 Oct 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!