poisspdf
Poisson probability density function
Syntax
Description
computes the Poisson probability density function at each of the values iny
= poisspdf(x
,lambda
)x
using the rate parameters inlambda
.
x
andlambda
can be scalars, vectors, matrices, or multidimensional arrays that all have the same size. If only one argument is a scalar,poisspdf
expands it to a constant array with the same dimensions as the other argument.
Examples
Input Arguments
Output Arguments
More About
选择功能
poisspdf
is a function specific to Poisson distribution. Statistics and Machine Learning Toolbox™ also offers the generic functionpdf
支持各种概率金宝appability distributions. To usepdf
, specify the probability distribution name and its parameters. Alternatively, create aPoissonDistribution
probability distribution object and pass the object as an input argument. Note that the distribution-specific functionpoisspdf
is faster than the generic functionpdf
.Use theProbability Distribution Functionapp to create an interactive plot of the cumulative distribution function (cdf) or probability density function (pdf) for a probability distribution.