Convolution of two different pdf (uniform and normal distribution)
23 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MINA WOO
el 22 de Nov. de 2019
Respondida: Jeff Miller
el 22 de Nov. de 2019
I want to calculate the pdf for convolution of uniform(x~u(a,b)) and normal distributions(y~N(m,sigma^2)).
How can I get the convolution pdf usgin MATLAB code?
0 comentarios
Respuesta aceptada
Jeff Miller
el 22 de Nov. de 2019
u = Uniform(0,100);
n = Normal(100,10); % 2nd parameter is sigma, not sigma^2
c = Convolution(u,n);
c.PlotDens; % See attached
somePDFvals = c.PDF(80:220);
0 comentarios
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!