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
Single value chi2pdf
example:
x = 3;
n = 5;
d = chi2pdf(x,n)
d = 0.15418
Vector chi2pdf
example:
x = [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