lognpdf

Statistics

Lognormal probability density function. mu and sigma are the mean and standard deviation of the underlying normal distribution (i.e., of log(X)). Default mu=0, sigma=1.

Syntax

lognpdf(x)
lognpdf(x, mu, sigma)

Examples

lognpdf(1)
▶ Run
lognpdf(1, 0, 1)
▶ Run
lognpdf(2, 0.5, 0.5)
▶ Run

See Also

Try SimLab — Free MATLAB® Alternative

466 functions. Runs in your browser. No install.

Open SimLab

Stay Updated

Get notified about new simulations and tools. We send 1-2 emails per month.