필터 지우기
필터 지우기

Random Gaussian variable distribution

조회 수: 14 (최근 30일)
Konstantinos
Konstantinos 2015년 2월 6일
댓글: Star Strider 2015년 2월 6일
Does matlab has a specific command to denote a zero mean non-Complex Gaussian random variable with unit variance ? Or does anyone can help me by giving me the appropriate code for this ?
Any help could be useful. Thanks in advance!

채택된 답변

Star Strider
Star Strider 2015년 2월 6일
If you want normally-distributed random numbers with zero mean and unit variance (and therefore unit standard deviation), use the randn function:
N01 = randn(1,10);
This will generate a 10-element row vector with zero mean and unit variance.
  댓글 수: 2
Konstantinos
Konstantinos 2015년 2월 6일
Thanks for the help!
Star Strider
Star Strider 2015년 2월 6일
My pleasure!

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by