How to label data of probability?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
fyza affandi
il 18 Nov 2018
Modificato: madhan ravi
il 18 Nov 2018
I have set of probability named A.
A= [0.7188 0.0625 0.0625 0.0469 0.0313 0.0156 0.0156 0.0156 0.0156 0.0156]
How can I assigned the 1st vector ,S1 = 0.7188, S2= 0.0625... and so on.
Then, when I called S1 , the number will result as 0.7188
0 Commenti
Risposta accettata
madhan ravi
il 18 Nov 2018
Modificato: madhan ravi
il 18 Nov 2018
Don't think of doing it see https://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dynamically-eval use cell instead:
A= {0.7188 0.0625 0.0625 0.0469 0.0313 0.0156 0.0156 0.0156 0.0156 0.0156};
celldisp(A)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!