expcdf
Compute exponential distribution cumulative distribution function values.
Syntax
p=expcdf(x,lambda)
Inputs
- x
- Values of the distribution random variable.
- lambda
- Mean.
Outputs
- p
- Cumulative probability values.
Examples
x=3;
lambda = 5;
p = expcdf(x,lambda)
p = 0.451188364
x=3;
lambda = [1:1:5];
p = expcdf(x,lambda)
p = [Matrix] 1 x 5
0.95021 0.77687 0.63212 0.52763 0.45119