Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how grouping of users can be done in this special case

2 vues (au cours des 30 derniers jours)
sara alaraby
sara alaraby le 26 Fév 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
I have number of users =15
the distance between each user is d(i,j)=matrix (15*15)
i need to divide users into 5 groups where
1-each group consists of 3 users & useres not repeated
2-i will start from user 1 then select the farthest user from it
ex( user 1 & 9) then i need to select the third user where the third one is on the middle distance between the selected users before (1,9)
and so on

Réponses (1)

Image Analyst
Image Analyst le 14 Mar 2019
Try kmeans() in the stats toolbox.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by