how to plot k-means output

4 views (last 30 days)
João Serras
João Serras on 27 Jul 2022
Commented: João Serras on 27 Jul 2022
Hi
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?
Joao

Accepted Answer

KSSV
KSSV on 27 Jul 2022
Read about gscatter

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!