ricb
Version 1.0.6 (3,37 ko) par
Bruno Luong
Random integer numbers with specified sum and bound constraints
For given m, k, s, lo, hi all integer scalars
Return a pseudo random integer array R of size (m x k)
such that
sum(R,2) == S
lo <= R <= hi
Citation pour cette source
Bruno Luong (2025). ricb (https://www.mathworks.com/matlabcentral/fileexchange/133762-ricb), 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.6 | Only change the summary |
||
1.0.5 | Speed up (remove J) |
||
1.0.4 | Speed up |
||
1.0.3 | Speed improvement |
||
1.0.2 | Small code change to speed up |
||
1.0.1 | Remove some unnecessary tests |
||
1.0.0 |