Random Gaussian variable distribution

6 次查看(过去 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!

采纳的回答

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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Random Number Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by