Random Number generation with defined decimal points
이전 댓글 표시
I have a limit between 1.4 and 2.5, so i need ot generate random number between these limits.
답변 (2개)
Bhaskar R
2020년 2월 6일
num = ( 2.5 - 1.4)*rand + 1.4;
카테고리
도움말 센터 및 File Exchange에서 Random Number Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!