Generates chi squared distribution probability density function values at specified locations. |
||
Syntax |
PDF = Chi2PDF(Points, n) |
|
Arguments |
Name |
Description |
Points |
A scalar, vector, or matrix of positive data points at which the density function is to be evaluated. The output is 0 for negative values. |
|
n |
Degrees of freedom parameter. A positive integer. |
|
Outputs |
Name |
Description |
A scalar, vector, or matrix of the density function values at the given points. The same size as Points. |
||
Example |
Find the chi squared density function at points 1, 3, and 6 with n = 5. |
|
Syntax |
||
pdf = Chi2PDF([1,3,6],5) |
||
Results |
||
pdf = 0.080657 0.15418 0.097304 |
||
See Also: |