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!