Gamma mean and variance
M = distfun_gamstat ( a , b ) [M,V] = distfun_gamstat ( a , b )
a matrix of doubles, the shape parameter, a>0.
a matrix of doubles, the scale parameter, b>0.
a matrix of doubles, the mean
a matrix of doubles, the variance
Computes statistics from the Gamma distribution.
The mean and variance of the Gamma distribution are
Any scalar input argument is expanded to a matrix of doubles of the same size as the other input arguments.