logninv

Compute lognormal distribution inverse cumulative distribution function values.

Syntax

x=logninv(x)

x=logninv(p,mu,sigma)

Inputs

p
Probability values.
Type: double
Dimension: scalar | vector | matrix
mu
Mean (default = 0).
Type: double
Dimension: scalar | vector | matrix
sigma
Standard Deviation (default = 1).
Type: double
Dimension: scalar | vector | matrix

Outputs

x
Values of the distribution random variable.

Examples

Single value logninv example:
p = 0.5;
mu = 5;
sigma = 3;
x = logninv(p,mu,sigma)
x = 148.41
Vector lognpdf example:
p = [0.1:0.1:0.9];
mu = 5;
sigma = 3;
x = logninv(p,mu,sigma)
x = [Matrix] 1 x 9
3.1751 11.883 30.778 69.405 148.41 317.36 715.66 1853.6 6937.2