generating normal data with given average and standard diviation

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 Commento

Duplicate is at http://www.mathworks.com/matlabcentral/answers/20622-data-genaration

Accedi per commentare.

Risposte (1)

please read: doc randn, example 1
more
doc normrnd (Statistics Toolbox)

Categorie

Scopri di più su Random Number Generation in Centro assistenza e File Exchange

Richiesto:

som
il 10 Nov 2011

Community Treasure Hunt

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

Start Hunting!

Translated by