data genaration

조회 수: 1 (최근 30일)
som
som 2011년 11월 8일
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

채택된 답변

Grzegorz Knor
Grzegorz Knor 2011년 11월 8일
See in documentation:
doc randn
  댓글 수: 2
som
som 2011년 11월 10일
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 2011년 11월 12일
See example 1 in documentation:
http://www.mathworks.com/help/techdoc/ref/randn.html

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by