data genaration

1 Ansicht (letzte 30 Tage)
som
som am 8 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

Akzeptierte Antwort

Grzegorz Knor
Grzegorz Knor am 8 Nov. 2011
See in documentation:
doc randn
  2 Kommentare
som
som am 10 Nov. 2011
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 am 12 Nov. 2011
See example 1 in documentation:
http://www.mathworks.com/help/techdoc/ref/randn.html

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by