Generate repeatable random integers within a fixed range
이전 댓글 표시
I want to generate 4 random integers from 4 to 11. The integers are repeatable
답변 (1개)
a = randi([4 11], 4, 1)
카테고리
도움말 센터 및 File Exchange에서 Random Number Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!