expcdf

Compute exponential distribution cumulative distribution function values.

Syntax

p=expcdf(x,lambda)

Inputs

x
Values of the distribution random variable.
Type: double
Dimension: scalar | vector | matrix
lambda
Mean.
Type: double
Dimension: scalar | vector | matrix

Outputs

p
Cumulative probability values.

Examples

Single value expcdf example:
x=3;
lambda = 5;
p = expcdf(x,lambda)
p = 0.451188364
Vector expcdf example:
x=3;
lambda = [1:1:5];
p = expcdf(x,lambda)
p = [Matrix] 1 x 5
0.18127 0.32968 0.45119 0.55067 0.63212