Function Reference: lognpdf

statistics: y = laplace_pdf (x)
statistics: y = laplace_pdf (x, mu)
statistics: y = laplace_pdf (x, mu, sigma)

Lognormal probability density function (PDF).

For each element of x, compute the probability density function (PDF) at x 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, logninv, lognrnd, lognstat

Source Code: lognpdf