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