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
引用格式
Bruno Luong (2024). ricb (https://www.mathworks.com/matlabcentral/fileexchange/133762-ricb), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2023a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!