making a random unique vector from 0 to 9999

3 Ansichten (letzte 30 Tage)
Jose Toledo
Jose Toledo am 20 Sep. 2019
Beantwortet: madhan ravi am 20 Sep. 2019
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

Antworten (1)

madhan ravi
madhan ravi am 20 Sep. 2019

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by