| Statistics Toolbox | Search  Help Desk |
| ncx2cdf | Examples See Also |
Noncentral chi-square cumulative distribution function (cdf).
Syntax
P = ncx2cdf(X,V,DELTA)
Description
ncx2cdf(X,V,DELTA) returns the noncentral chi-square cdf with V degrees of freedom and positive noncentrality parameter, DELTA, at the values in X.
The size of P is the common size of the input arguments. A scalar input functions as a constant matrix of the same size as the other inputs.
Some texts refer to this distribution as the generalized Rayleigh, Rayleigh-Rice, or Rice distribution.
The noncentral chi-square cdf is:
Example
x = (0:0.1:10)'; p1 = ncx2cdf(x,4,2); p = chi2cdf(x,4); plot(x,p,'- -',x,p1,'-')
![]()
References
See Also
cdf,ncx2inv,ncx2pdf,ncx2rnd,ncx2stat