title: Kmeans matlab "Empty cluster created at iteration 1" error
body: <p>I'm using this script to cluster a set of 3D points using the kmeans matlab function but I always get this error "Empty cluster created at iteration 1". 
  The script I'm using:</p>
  
  <pre><code>[G,C] = kmeans(XX, K, 'distance','sqEuclidean', 'start','sample');
  </code></pre>
  
  <p>XX can be found in this link <a href="https://www.dropbox.com/s/rgatmmg2cx2z1cv/matlab_X.mat" rel="noreferrer">XX value</a> and the K is set to 3
  So if anyone could please advise me why this is happening.</p>