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.

Answers (0)

This question is closed.

Asked:

on 13 Feb 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!