Function Reference: logninv

statistics: x = logninv (p)
statistics: x = logninv (p, mu)
statistics: x = logninv (p, mu, sigma)

Inverse of the lognormal cumulative distribution function (iCDF).

For each element of p, compute the quantile (the inverse of the CDF) at p of the lognormal distribution with parameters mu and sigma. The size of p is the common size of p, mu, and sigma. A scalar input functions as a constant matrix of the same size as the other inputs.

If a random variable follows this distribution, its logarithm is normally distributed with mean mu and standard deviation sigma.

Default values are mu = 0, sigma = 1. Both parameters must be reals and sigma > 0. For sigma <= 0, NaN is returned.

See also: logncdf, lognpdf, lognrnd, lognstat

Source Code: logninv