Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

could anyone help me to solve the issue.

1 view (last 30 days)
jaah navi
jaah navi on 26 Apr 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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
jaah navi
jaah navi on 26 Apr 2019
could you please tell me how to generate the clusters with respect to the command line
rng(value_from_code); randi(3, 1, 1).
As the value_from_code is 3.7602e+06,how the clusters are formed with respect to value.
Walter Roberson
Walter Roberson on 26 Apr 2019
Clusts = {{'a'}, {'b'}, {'a' 'b}} ;
Now index that by the randi value.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!