K-means error 'Index exceeds matrix dimensions.'
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!