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 Exchange에서 Random 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