random numbers drawn from Gaussian distribution in a specific range and having a fixed mean
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi All,
I'm trying to generate 8 random numbers (being multiplies of 10, i.e. 510, 620, 810 etc) drawn from a Gaussian distribution within a specific range (50-1200). The mean of these numbers would be predetermined, too (i.e. 400).
I would appreciate it so much if anyone can help me how to do it in Matlab.
Thank you very much!
inci
댓글 수: 0
답변 (1개)
Walter Roberson
2011년 9월 30일
This cannot be done. Distributions that have fixed limits cannot be gaussian. Gaussian distributions always have infinite tails.
People who ask this question are often satisfied to use a Beta Distribution instead. More hints in this previous discussion
댓글 수: 0
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!