Info
This question is closed. Reopen it to edit or answer.
could anyone help me to solve the issue.
1 view (last 30 days)
Show older comments
i am having two users in a system lets say a,b
The two users need to form the clusters based on the value generated by the code.
The possible formation of clusters can be {a},{b} and {a,b}.
For example if the value generated by the code is 3.7602e+06 what can be done inorder to get any one possible formation.
4 Comments
Walter Roberson
on 26 Apr 2019
Clusts = {{'a'}, {'b'}, {'a' 'b}} ;
Now index that by the randi value.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!