Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how grouping of users can be done in this special case

조회 수: 2 (최근 30일)
sara alaraby
sara alaraby 2019년 2월 26일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (1개)

Image Analyst
Image Analyst 2019년 3월 14일
Try kmeans() in the stats toolbox.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by