Statistics Toolbox | ![]() ![]() |
Lognormal cumulative distribution function.
Syntax
P = logncdf(X,MU,SIGMA)
Description
computes the lognormal cdf at each of the values in P = logncdf(X,MU,SIGMA)
X
using the corresponding means in MU
and standard deviations in SIGMA
. Vector or matrix inputs for X
, MU
, and SIGMA
must have the same size, which is also the size of P
. A scalar input for X
, MU
, or SIGMA
is expanded to a constant matrix with the same dimensions as the other inputs.
Example
x = (0:0.2:10); y = logncdf(x,0,1); plot(x,y); grid; xlabel('x'); ylabel('p');
Reference
Evans, M., N. Hastings, and B. Peacock, Statistical Distributions, Second Edition, John Wiley and Sons, 1993. p. 102-105.
See Also
cdf
, logninv
, lognpdf
, lognrnd
, lognstat
![]() | linkage | logninv | ![]() |