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!