generating normal data with given average and standard diviation

2 Ansichten (letzte 30 Tage)
som
som am 10 Nov. 2011
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 Kommentar
Walter Roberson
Walter Roberson am 28 Dez. 2011
Duplicate is at http://www.mathworks.com/matlabcentral/answers/20622-data-genaration

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Andrei Bobrov
Andrei Bobrov am 10 Nov. 2011
please read: doc randn, example 1
more
doc normrnd (Statistics Toolbox)

Kategorien

Mehr zu Random Number Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by