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일

1 개 추천

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개)

카테고리

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

질문:

2015년 2월 6일

댓글:

2015년 2월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by