Generate random decimal value
25 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Wen Shu Wong
am 2 Dez. 2020
Kommentiert: Cris LaPierre
am 2 Dez. 2020
How to generate random decimal value between 1.00 to 2.00?
0 Kommentare
Akzeptierte Antwort
Cris LaPierre
am 2 Dez. 2020
r=rand+1
4 Kommentare
Cris LaPierre
am 2 Dez. 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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Random Number Generation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!