how to plot k-means output

4 visualizzazioni (ultimi 30 giorni)
João Serras
João Serras il 27 Lug 2022
Commentato: João Serras il 27 Lug 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

Risposta accettata

KSSV
KSSV il 27 Lug 2022
Read about gscatter

Più risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by