lognstat
Lognormal mean and variance
📝Syntax
[m, v] = lognstat(mu, sigma)
📥Input Arguments
Parameter Description
mu real scalar or array: mean of logarithmic values.
sigma nonnegative scalar or array: standard deviation of logarithmic values.
📤Output Arguments
Parameter Description
m array: means.
v array: variances.
📄Description

lognstat returns the element-wise mean and variance of lognormal distributions.

💡Examples
[m, v] = lognstat(0, 1);
🔗See Also
lognpdflognrnd
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub