random generation and ploting its pdf
18 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Govind K
el 6 de Ag. de 2014
Respondida: Michael Haderlein
el 6 de Ag. de 2014
i want generate number from 0 to 100 and plot its pdf(probability density function) as well as mean ,standard deviation.
Thank you.
0 comentarios
Respuesta aceptada
Michael Haderlein
el 6 de Ag. de 2014
n=randi(101,1000,1)-1;
hist(n,101)
m=mean(n),s=std(n)
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!