Random Gaussian variable distribution
조회 수: 8 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
채택된 답변
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Random Number Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!