Unique Random Integer List

A simple function that produce unique random Integer List
835 Downloads
Aktualisiert 31. Mai 2010

Lizenz anzeigen

Usage r=myrand(a,b)
a and b is the range, for example if we want to generate random integers between 370 and 55780 we call the function :
r=myrand(370,55780)
We can also limit the list as we need. for example if we want only 10 random integers between 370 and 55780 we use:
r10=r(1:10;
It is also useful for scrambling an array randomly.

Zitieren als

Ibraheem Al-Dhamari (2026). Unique Random Integer List (https://de.mathworks.com/matlabcentral/fileexchange/27809-unique-random-integer-list), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2008a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Random Number Generation finden Sie in Help Center und MATLAB Answers
Version Veröffentlicht Versionshinweise
1.0.0.0