How to create non-repetitive random integers
古いコメントを表示
Hi,
As the title suggests I want to create non-repetitive random integers but don't know how to... say 70 integers ranging from 1 to 100. is there a straight way to do this?
thanks,
採用された回答
その他の回答 (2 件)
Richard Brown
2012 年 4 月 23 日
randperm(100, 70)
2 件のコメント
Mohammad Monfared
2012 年 4 月 23 日
Richard Brown
2012 年 4 月 23 日
ah yes, that came in at R2011b
Jan
2012 年 4 月 23 日
1 投票
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!