making a random unique vector from 0 to 9999

3 ビュー (過去 30 日間)
Jose Toledo
Jose Toledo 2019 年 9 月 20 日
回答済み: madhan ravi 2019 年 9 月 20 日
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

回答 (1 件)

madhan ravi
madhan ravi 2019 年 9 月 20 日

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by