chi2cdf
Compute chi-squared distribution cumulative distribution function values.
Syntax
p=chi2cdf(x,n)
Inputs
- x
 - Values of the distribution random variable.
 - n
 - Degrees of freedom.
 
Outputs
- p
 - Cumulative probability values.
 
Examples
Single value chi2cdf example:
x = 3
n = 5;
p = chi2cdf(x,n);
      p = 0.300014
      x = [1,2,3,4,5,6,7]
n = 5;
p = chi2cdf(x,n);p = [Matrix] 1 x 7
0.0374342 0.150855 0.300014 0.450584 0.58412 0.693781 0.77936