Advertisement
Sri27119

poisson

May 19th, 2024
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.35 KB | None | 0 0
  1. lambda = 100*0.1; % rate parameter
  2. x = 12; % particles under study
  3. Px = poisspdf(x,lambda);% probability of exactly 12 particles
  4. Px2 = poisscdf(x,lambda); % probability of 12 or fewer particles occuring
  5.  
  6. plot(0:1:15,poisspdf(0:1:15,lambda));
  7. title('POISSON DISTRIBUTION');
  8. xlabel('Number of particles under study --->');
  9. ylabel('Probability --->');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement