Random Gaussian variable distribution
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Konstantinos
le 6 Fév 2015
Commenté : Star Strider
le 6 Fév 2015
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 commentaires
Réponse acceptée
Star Strider
le 6 Fév 2015
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Random Number Generation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!