フィルターのクリア

How to find normal distribution of the number?

1 回表示 (過去 30 日間)
Abhinav
Abhinav 2015 年 2 月 6 日
回答済み: Star Strider 2015 年 2 月 6 日
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.

回答 (1 件)

Star Strider
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.

カテゴリ

Help Center および File ExchangeProbability Distributions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by