Someone help me to fix the problem?
Mostrar comentarios más antiguos
Hello everyone, I need to create random numbers and find the poisson distribution and its pdf and the draw the plot of it, I try to do it this code but I am doing something wrong here, can someone help me to do it?
lambda =75;
for i=1:1000
r(i) = poissrnd(lambda);
end
P = poisspdf(r,lambda);
[M,V] = poisstat(lambda);
% bar(r,P,1);
% xlabel('Observation');
% ylabel('Probability');
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Poisson Distribution en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!