mean of 10 and a variance of 30
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
S.M
am 26 Okt. 2022
Kommentiert: Image Analyst
am 26 Okt. 2022
How can i distribution is normal with a mean of 10 and a variance of 30.(for n samples;n=50)
3 Kommentare
Akzeptierte Antwort
Image Analyst
am 26 Okt. 2022
Try this:
n = 50;
r = 10 + 30 * randn(1, n);
theActualMean = mean(r)
theActualSD = std(r)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Random Number Generation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!