How to generate probability value randomly?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mira le
am 26 Okt. 2020
Kommentiert: Ameer Hamza
am 26 Okt. 2020
Hello,
I have a set of discrete value
X=[1 , 2, 10, 5, ...., 4]
I want each value in X contains a probability value between 0 and 1
example:
1: 0.5,
2:0.1,
5:0.9
.....
Thanks.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB 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!