Generate random numbers with constraints

I want to generate three random numbers lets say r1, r2 and r3 but the sum of these three numbers must equal to 1. any help?

カテゴリ

ヘルプ センター および File ExchangeRandom Number Generation についてさらに検索

製品

リリース

R2020b

質問済み:

2022 年 12 月 15 日

回答済み:

2022 年 12 月 15 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by