I have 2D matrix and I want to cluster it to three groups of data

2 vues (au cours des 30 derniers jours)
Abdullah
Abdullah le 22 Avr 2017
Commenté : Abdullah le 22 Avr 2017
I have 2D matrix and I want to cluster it to three groups of data based on the range of the data, what clustering method could help me ?

Réponses (1)

KSSV
KSSV le 22 Avr 2017
A = rand(100) ;
set1 = A(A>0 & A<=0.4) ;
set2 = A(A>0.4 & A<=0.8) ;
set3 = A(A>0.8 & A<=1) ;
  1 commentaire
Abdullah
Abdullah le 22 Avr 2017
Thanks KSSV for your reply, your method is setting a manual range, I want to use clustering method to cluster the matrix into three groups based on that matrix numbers.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by