Using rand function to generate a certain parameter of numbers
이전 댓글 표시
How do I use the rand() function to generate two vectors with 10000 elements ranging between 5 and -5 uniformly? Thank you!
답변 (1개)
Steven Lord
2020년 10월 5일
0 개 추천
See the "Random Numbers Within Specified Interval" example on the documentation page for the rand function.
카테고리
도움말 센터 및 File Exchange에서 Random Number Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!