mean of 10 and a variance of 30
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How can i distribution is normal with a mean of 10 and a variance of 30.(for n samples;n=50)
3 commentaires
Réponse acceptée
Image Analyst
le 26 Oct 2022
Try this:
n = 50;
r = 10 + 30 * randn(1, n);
theActualMean = mean(r)
theActualSD = std(r)
0 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!