making a random unique vector from 0 to 9999
3 ビュー (過去 30 日間)
古いコメントを表示
How would I make a random unique vector from 0 to 9999? I
have tried using randi([0,9999]) and looping it 10,000 times, but I have some numbers that repeat
0 件のコメント
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!