generating normal data with given average and standard diviation

7 ビュー (過去 30 日間)
som
som 2011 年 11 月 10 日
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
  1 件のコメント
Walter Roberson
Walter Roberson 2011 年 12 月 28 日
Duplicate is at http://www.mathworks.com/matlabcentral/answers/20622-data-genaration

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

回答 (1 件)

Andrei Bobrov
Andrei Bobrov 2011 年 11 月 10 日
please read: doc randn, example 1
more
doc normrnd (Statistics Toolbox)

カテゴリ

Help Center および File ExchangeRandom Number Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by