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)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Asked:

on 9 Oct 2012

Community Treasure Hunt

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

Start Hunting!