data genaration

Hi all
I want to generat a data seri that follows Normal Distribution. as u know, "randn" command generates data with average=0 and std=1. But I want to generat a series of data having non-zero average and non-single standard diviation. could u please guide me??? Thanks in advanced

 採用された回答

Grzegorz Knor
Grzegorz Knor 2011 年 11 月 8 日

0 投票

See in documentation:
doc randn

2 件のコメント

som
som 2011 年 11 月 10 日
as u know, "randn" command generates data with average=1 and std=1.
But I want to generat a series of data having non-zero average and non-single standard diviation.
could u please guide me???
thanks
Grzegorz Knor
Grzegorz Knor 2011 年 11 月 12 日
See example 1 in documentation:
http://www.mathworks.com/help/techdoc/ref/randn.html

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by