how to find cluster centroid?

11 次查看(过去 30 天)
praislin
praislin 2012-10-9
i hav clusterd my image into three clusters. Now how to find the cluster centroids?

回答(2 个)

Amateuromania
Amateuromania 2012-10-9
if you are storing the cluster points' values, you can use kmeans() function.

bes
bes 2012-10-9
[IDX,C] = kmeans(X,k)

Community Treasure Hunt

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

Start Hunting!

Translated by