could anyone tell me how to group number of users such that each group should contain only 2 users.
2 views (last 30 days)
Show older comments
could anyone tell me how to group number of users such that each group should contain only 2 users.
2 Comments
Geoff Hayes
on 5 Mar 2018
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.
Answers (1)
Walter Roberson
on 5 Mar 2018
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 Comments
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!