Noncentral Chi-Squared mean and variance
M = distfun_ncx2stat(k,delta) [M,V] = distfun_ncx2stat(k,delta)
a matrix of doubles, the number of degrees of freedom, k>0 (can be non integer)
a matrix of doubles, the noncentrality parameter, delta>=0
a matrix of doubles, the mean
a matrix of doubles, the variance
Computes statistics from the Noncentral Chi-Squared distribution.
Any scalar input argument is expanded to a matrix of doubles of the same size as the other input arguments.
The Mean and Variance of the Geometric Distribution are
http://en.wikipedia.org/wiki/Noncentral_chi-squared_distribution