MATLAB: K-means clustering, error

clusteringk-meansMATLAB

Hello All, I really need your help, your advice. I am trying to do clustering, I have mixed data and big dataset. From all datased I selected only some of them. I do k-means algorithm but error is shown on my command window. Could you advise me, where is bug?
Thank you very very much…

Best Answer

What data type are you entering as the first argument to the kmeans command? According to the documentation, it has to be an n-by-p data matrix, but it looks like you have input a dataset instead.
Related Question