Linear_Rand_Comb_Fi​xed_Sum

버전 1.0.0 (1.42 KB) 작성자: Biswanath Mahanty
A random integer row vector of specified length, elements are bounded by lower and upper limits, while elements add up a target value
다운로드 수: 1
업데이트 날짜: 2020/9/27

라이선스 보기

This function generates a random integer row vector of specified length, where each element
is bounded by lower limit and upper limit, while adding up to a fixed sum.
% m - The specified target sum
% n - The length of desired row vector (i.e. the number of elements)
% ul - the upper limit of the values permitted in the desired vector
% ll - the lower limit of the values permitted in the desired vector

인용 양식

Biswanath Mahanty (2024). Linear_Rand_Comb_Fixed_Sum (https://www.mathworks.com/matlabcentral/fileexchange/80533-linear_rand_comb_fixed_sum), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0