Navigation

Operators and Keywords

Function List:

C++ API

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

For each element of x, compute the probability density function (PDF) at x of the lognormal distribution with parameters mu and sigma.

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.

Package: octave