chi2pdf
Compute chi-squared distribution probability density function values.
Syntax
d=chi2pdf(x,n)
Inputs
- x
 - Values of the distribution random variable.
 - n
 - Degrees of freedom.
 
Outputs
- d
 - Probability density values.
 
Examples
x = 3;
n = 5;
d = chi2pdf(x,n)d = 0.15418x = [1:1:7];
n = 5;
d = chi2pdf(x,n)d = [Matrix] 1 x 7
0.0806569 0.138369 0.15418 0.143976 0.122042 0.0973043 0.0743713