Generate K random numbers which sum M

버전 1.0.0.0 (2.03 KB) 작성자: Mario CASTRO GAMA
Usually you need to generate K random numbers (uniform distribution) which must add a certain number
다운로드 수: 264
업데이트 날짜: 2014/2/11

라이선스 보기

The function is able to generate K numbers which add up to M. M can be also a complex number.

Does not accepts constraints in the generation of the numbers. This means the feasibility problem is not addressed.

인용 양식

Mario CASTRO GAMA (2024). Generate K random numbers which sum M (https://www.mathworks.com/matlabcentral/fileexchange/45490-generate-k-random-numbers-which-sum-m), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2011a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Random Number Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

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