Generate random decimal value
4 ビュー (過去 30 日間)
古いコメントを表示
How to generate random decimal value between 1.00 to 2.00?
0 件のコメント
採用された回答
Cris LaPierre
2020 年 12 月 2 日
r=rand+1
4 件のコメント
Cris LaPierre
2020 年 12 月 2 日
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.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Random Number Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!