y = chi2pdf(x, v)
| Parameter | Description |
|---|---|
| x | real numeric array: values where the density is evaluated. |
| v | positive real numeric array or scalar: degrees of freedom. |
| Parameter | Description |
|---|---|
| y | density values. |
chi2pdf computes the chi-square probability density. Scalar inputs are expanded to match array inputs.
x = [0.5 1 2 5];
y = chi2pdf(x, 4);
| Version | Description |
|---|---|
| 2.0.0 | initial version |