Uniform mean and variance
M = distfun_unifstat ( a , b ) [M,V] = distfun_unifstat ( a , b )
a 1x1 or nxm matrix of doubles, the lower bound
a 1x1 or nxm matrix of doubles, the upper bound
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.