how to plot k-means output

1 view (last 30 days)
João Serras
João Serras on 27 Jul 2022
Commented: João Serras on 27 Jul 2022
I am a real rookie and strtring with baby steps. I need to calculate a cluster and then to plot it (diferent colors for the clusters and for the centroids. I am using kmeans and got the result.
So it looks OK
Now I need to plot the clusters with diffrent colors as well as the centroids.
How do I do it?

Accepted Answer

KSSV on 27 Jul 2022
Read about gscatter

More Answers (0)


Community Treasure Hunt

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

Start Hunting!