Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

could anyone help me to solve the issue.

1 visualizzazione (ultimi 30 giorni)
jaah navi
jaah navi il 26 Apr 2019
Chiuso: MATLAB Answer Bot il 20 Ago 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 Commenti
jaah navi
jaah navi il 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 il 26 Apr 2019
Clusts = {{'a'}, {'b'}, {'a' 'b}} ;
Now index that by the randi value.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by