How to generate a fixed number of float numbers and their sum is a fixed float number?
1 回表示 (過去 30 日間)
古いコメントを表示
Suppose I have a fixed float number 0.7,
I want to generate 9 positive float numbers that theri sum is 0.7.
0 件のコメント
採用された回答
Image Analyst
2020 年 2 月 16 日
編集済み: Image Analyst
2020 年 2 月 16 日
See this File Exchange submission:
参考
カテゴリ
Help Center および File Exchange で Random Number Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!