ricb
Version 1.0.6 (3.37 KB) by
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
Cite As
Bruno Luong (2024). ricb (https://www.mathworks.com/matlabcentral/fileexchange/133762-ricb), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2023a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.