k mean clustering output with centre and solution space
1 view (last 30 days)
Show older comments
Give matlab code to find k-means clustering on any numerical dataset. Output should have clustering diagram, and give cen as centre value which is (Kx1) vector and x is the solution space which is (NxK) matrix
Answers (1)
Image Analyst
on 24 Mar 2018
Just call kmeans() like the examples in the help show you. For what it's worth, I attach another example of kmeans() to do gray level segmentation
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!