LogNormal mean and variance
M = distfun_lognstat ( mu , sigma ) [M,V] = distfun_lognstat ( mu , sigma )
a matrix of doubles, the mean of the underlying normal variable.
a matrix of doubles, the standard deviation of the underlying normal variable. sigma>0.
a matrix of doubles, the mean
a matrix of doubles, the variance
Computes statistics from the LogNormal distribution.
The mean and variance of the lognormal distribution are
A lognormal distribution with mean m and variance v has parameters
mu = log(M) - 0.5 * log(1+V./(M.^2)) sigma = sqrt(log(1+V./(M.^2)))
Any scalar input argument is expanded to a matrix of doubles of the same size as the other input arguments.