K-means error 'Index exceeds matrix dimensions.'

1 view (last 30 days)
Zainb
Zainb on 24 Jun 2015
Edited: Walter Roberson on 24 Jun 2015
Hi All. I am stuck in identifying the reason behind this error.
I ran the command
[idx, clusters] = kmeans(mat_A', 15);
Error:
Index exceeds matrix dimensions.
Error in kmeans (line 300)
idxbest = ClusterBest{5};
where size of mat_A = 13x2500615
Please someone help me out. Thank you

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!