Info

此问题已关闭。 请重新打开它进行编辑或回答。

could anyone help me to solve the issue.

2 次查看(过去 30 天)
jaah navi
jaah navi 2019-4-26
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
jaah navi
jaah navi 2019-4-26
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 2019-4-26
Clusts = {{'a'}, {'b'}, {'a' 'b}} ;
Now index that by the randi value.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by