Generate random decimal value
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Wen Shu Wong
il 2 Dic 2020
Commentato: Cris LaPierre
il 2 Dic 2020
How to generate random decimal value between 1.00 to 2.00?
0 Commenti
Risposta accettata
Cris LaPierre
il 2 Dic 2020
r=rand+1
4 Commenti
Cris LaPierre
il 2 Dic 2020
rand creates a uniform distribution. You might look into the pearsrnd function, as that lets you define your distribution by setting the mean, standard deviation, skewness and kurtosis.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Random Number Generation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!