How to label data of probability?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
fyza affandi
am 18 Nov. 2018
Bearbeitet: madhan ravi
am 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 Kommentare
Akzeptierte Antwort
madhan ravi
am 18 Nov. 2018
Bearbeitet: madhan ravi
am 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!