Products & Services Solutions Academia Support User Community Company

Learn more about Statistics Toolbox   

poisspdf - Poisson probability density function

Syntax

Y = poisspdf(X,lambda)

Description

Y = poisspdf(X,lambda) computes the Poisson pdf at each of the values in X using mean parameters in lambda. X and lambda can be vectors, matrices, or multidimensional arrays that all have the same size. A scalar input is expanded to a constant array with the same dimensions as the other input. The parameters in lambda must all be positive.

The Poisson pdf is

where x can be any nonnegative integer. The density function is zero unless x is an integer.

Examples

A computer hard disk manufacturer has observed that flaws occur randomly in the manufacturing process at the average rate of two flaws in a 4 GB hard disk and has found this rate to be acceptable. What is the probability that a disk will be manufactured with no defects?

In this problem, λ = 2 and x = 0.

p = poisspdf(0,2)
p =
  0.1353

See Also

pdf, poisscdf, poissinv, poisstat, poissfit, poissrnd

Poisson Distribution

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS