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?

Categorie

Scopri di più su Random Number Generation in Centro assistenza e File Exchange

Prodotti

Release

R2020b

Richiesto:

il 15 Dic 2022

Risposto:

il 15 Dic 2022

Community Treasure Hunt

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

Start Hunting!

Translated by