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