Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
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.
Citation pour cette source
Ibraheem Al-Dhamari (2026). Unique Random Integer List (https://fr.mathworks.com/matlabcentral/fileexchange/27809-unique-random-integer-list), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
A inspiré : Generate uniform pseudo-random integers from linear range.
Informations générales
- Version 1.0.0.0 (1,13 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0.0 |
