could anyone tell me how to group number of users such that each group should contain only 2 users.
2 次查看(过去 30 天)
显示 更早的评论
could anyone tell me how to group number of users such that each group should contain only 2 users.
2 个评论
Geoff Hayes
2018-3-5
Prabha - does it matter which two users get grouped together? Or can it be as simple as user 1 is grouped with user 2, user 3 is grouped with user 4, etc. Please clarify.
回答(1 个)
Walter Roberson
2018-3-5
The same was as https://www.mathworks.com/matlabcentral/answers/386307-how-do-i-create-an-array-of-randomized-pairs-of-numbers#answer_308315 except without the reshape()
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!