title: k-means iterative output of data+centroid
body: <p>I've got a question regarding the <code>kmeans</code> function in Matlab.
  I want to do a plot with multiple plots of various steps, which shows the evolution/movement of cluster centers and the labelling of the cluster data.
  Asked a friend of mine who already played around with the k-means function, but he said that wouldn't be possible.
  Is he right or is it possible to plot the data of the input vector and the centroids via iteration?
  If it's possible, how is it realized?</p>
  
  <p>Thank you in advance.</p>
  
  <p>Regards</p>