mean of 10 and a variance of 30
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
S.M
el 26 de Oct. de 2022
Comentada: Image Analyst
el 26 de Oct. de 2022
How can i distribution is normal with a mean of 10 and a variance of 30.(for n samples;n=50)
3 comentarios
Image Analyst
el 26 de Oct. de 2022
Did you see my answer down in the official Answer section below?
Respuesta aceptada
Image Analyst
el 26 de Oct. de 2022
Try this:
n = 50;
r = 10 + 30 * randn(1, n);
theActualMean = mean(r)
theActualSD = std(r)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Random Number Generation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!