How to label data of probability?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
fyza affandi
le 18 Nov 2018
Modifié(e) : madhan ravi
le 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 commentaires
Réponse acceptée
madhan ravi
le 18 Nov 2018
Modifié(e) : madhan ravi
le 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!