expinv
Compute exponential distribution inverse cumulative distribution function values.
Syntax
x=expinv(p,lambda)
Inputs
- p
- Probability values.
- lambda
- Mean.
Outputs
- x
- Percentile values.
Examples
Single value expinv example:
p=0.5;
lambda = 5;
x = expinv(p,lambda)
x = 3.4657
Vector expinv
example:
p=[0.1:0.1:0.9];
lambda = 5;
x = expinv(p,lambda)
x = [Matrix] 1 x 9
0.5268 1.1157 1.7834 2.5541 3.4657 4.5815 6.0199 8.0472 11.513