Qu

lognpdf

Builtin index · Statistics & ML

result = lognpdf(x, [mu=0], [sigma=1])

Input: x, mu, sigma · Output: result

What it is

Probability density of the log-normal distribution at x (a number, vector or matrix, elementwise). Support: x > 0; mu/sigma are the mean and deviation of log(x).

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
result = lognpdf(x, [mu=0], [sigma=1])
x number, vector, or matrixProbability density of the log-normal distribution at x (a number, vector or matrix, elementwise).
mu optional (default 0)mu/sigma are the mean and deviation of log(x).
sigma optional (default 1)mu/sigma are the mean and deviation of log(x).
result —
Returns the same shape as x. Added in v0.4.4.

Examples

No documentation example calls this form yet. The Statistics & ML chapter is where one belongs.