フィルターのクリア

How to get independent gaussian distribution with zero mean?

4 ビュー (過去 30 日間)
Xylo
Xylo 2014 年 4 月 25 日
コメント済み: Xylo 2014 年 4 月 27 日
Here it follows the normal gaussian distribution.... b=1/sqrt(2*pi)/sigma*exp(-(x-mean).^2/(2*sigma^2)); b is a set,i.e a vector with size 10X1; I only know the mean, here this is zero. and sigma is the Standard Deviation. with respect to that I have some lemda values : lemda =
67.0536 16.5292 4.1281 2.2891 0.0000 0.0000 0.0000 0.0000 -0.0000 -0.0000
  2 件のコメント
Xylo
Xylo 2014 年 4 月 25 日
plz help me as soon as possible....I am new in matlab, and i dnt knw suitable function for that..... thank you

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2014 年 4 月 25 日
Are you attempting to create a description of a distribution? The stats toolbox has tools for that.
If you are attempting to get random values that follow a gaussian distribution with 0 mean, then
randn(10,1) * sigma
  1 件のコメント
Xylo
Xylo 2014 年 4 月 27 日
oh i got it..... lots of thnks to you

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by