Generate a vector X of 100 independent samples from Gaussian distribution

Generate a vector X of 100 independent samples from Gaussian distribution with mean=5 and variance =3.

추가 답변 (1개)

s.p4m
s.p4m 2016년 9월 15일
You could also use the random comand
X = random('norm',5,3,100,1);

카테고리

도움말 센터File Exchange에서 Random Number Generation에 대해 자세히 알아보기

태그

질문:

2016년 9월 15일

답변:

2016년 9월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by