how to generate and precise double value?
2 ビュー (過去 30 日間)
古いコメントを表示
Hello
I want to ask you How I can generate probability values randomly between 0 and 1, but 1 and 0 can include as probability value
for example
I have a vector of values X=[12 5 10 50 22]
each value of X must have a probability where 0<=p>=1
when I obtain probability like 0.98555 I want just pick 0.9
How I can do that.?
Please help me!
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!