generating normal data with given average and standard diviation

조회 수: 2 (최근 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 CenterFile Exchange에서 Random Number Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by