Chi-squared Inverse CDF
x = distfun_chi2cdf(p,k) x = distfun_chi2cdf(p,k,lowertail)
a matrix of doubles, the probability.
a matrix of doubles, the number of degrees of freedom, k>0 (can be non integer)
a 1-by-1 matrix of booleans, the tail (default lowertail=%t). If lowertail is true (the default), then considers P(X<=x) otherwise P(X>x).
a matrix of doubles, the outcome. x belongs to the set {0,1,2,3,......}
Computes the Inverse cumulative distribution function of the Chi-squared distribution function.
Any scalar input argument is expanded to a matrix of doubles of the same size as the other input arguments.
http://en.wikipedia.org/wiki/Chi-squared_distribution