randinrc returns a pseudo random (n x m) array R such that
- R contains integers in (1:range)
- for each column Rj = R(:,j) two elements of Rj that has the same value are separated by at least minstep in their positions
Optionally drawing with and without replacement cen be specified by user
Citation pour cette source
Bruno Luong (2025). randinrc (https://www.mathworks.com/matlabcentral/fileexchange/133192-randinrc), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2023a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.2 | Slightly faster using FIFO |
||
1.0.1 | Add example in the H1 line |
||
1.0.0 |