logncdf
Compute lognormal distribution cumulative distribution function values.
Syntax
p=logncdf(x)
p=logncdf(x,mu,sigma)
Inputs
- x
- Values of the distribution random variable.
- mu
- Mean (default = 0).
- sigma
- Standard deviation (default = 1).
Outputs
- p
- Cumulative probability values.
Examples
Single value logncdf
example:
x = 4;
mu = 5;
sigma = 3;
d = logncdf(x,mu,sigma)
p = 0.11418
Vector logncdf
example:
x = [1:1:9];
mu = 5;
sigma = 3;
p = logncdf(x,mu,sigma)
p = [Matrix] 1 x 9
0.04779 0.075556 0.096721 0.11418 0.1292 0.14244 0.15433 0.16515 0.17509