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
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 Center 및 MATLAB 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 |