Uniform mean and variance
M = distfun_unifstat ( a , b ) [M,V] = distfun_unifstat ( a , b )
a matrix of doubles, the lower bound
a matrix of doubles, the upper bound (with a<=b)
a matrix of doubles, the mean
a matrix of doubles, the variance
Computes statistics from the Uniform distribution.
The mean and variance of the Uniform distribution are
Any scalar input argument is expanded to a matrix of doubles of the same size as the other input arguments.