poissinv

Compute Poisson distribution inverse cumulative distribution function values.

Syntax

x=poissinv(p,lambda)

Inputs

p
Probability values.
Type: double
Dimension: scalar | vector | matrix
lambda
Mean.
Type: double
Dimension: scalar | vector | matrix

Outputs

x
Values of the distribution random variable.

Examples

Single value poissinv example:

p=0.3;
lambda = 5;
x = poissinv(p,lambda)
x = 4
Vector poissinv example:
p=[0.1:0.1:0.9];
lambda = 5;
x = poissinv(p,lambda)
x = [Matrix] 1 x 9
2 3 4 4 5 5 6 7 8