How to Saveg and collect centers in K-means algorithm?

I need to save and collect centers in each iteration of K-means algorithm, I changed the kmeans algorithm at 407 by adding a line to save Cs(centers of clusters), but it just never work, could anyone please help me? thanks in advance.

Risposte (0)

Questa domanda è chiusa.

Richiesto:

il 13 Feb 2014

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by