How to find normal distribution of the number?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a normal distribution like this Normal(6,3) where 6 is mean and 3 is standard deviation. How to generate numbers from this.
댓글 수: 0
답변 (1개)
Star Strider
2015년 2월 6일
I am not certain what you mean by ‘generate numbers’. If you want to generate random normally-distributed numbers with those parameters, this works:
N63 = 3*randn(1,10)+6;
It will generate a 10-element row vector of normally-distributed random numbers with a mean of 6 and a standard deviation of 3.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Probability Distributions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!