ricb

버전 1.0.6 (3.37 KB) 작성자: Bruno Luong
Random integer numbers with specified sum and bound constraints
다운로드 수: 1
업데이트 날짜: 2023/8/15

라이선스 보기

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
This is equivalent to randfixedsum by Roger Stafford but for random integers and not doubles

인용 양식

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!
버전 게시됨 릴리스 정보
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