| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Statistics Toolbox |
| Contents | Index |
| Learn more about Statistics Toolbox |
P = nctcdf(X,NU,DELTA)
P = nctcdf(X,NU,DELTA) computes the noncentral t cdf at each of the values in X using the corresponding degrees of freedom in NU and noncentrality parameters in DELTA. X, NU, and DELTA can be vectors, matrices, or multidimensional arrays that have the same size, which is also the size of P. A scalar input for X, NU, or DELTA is expanded to a constant array with the same dimensions as the other inputs.
Compare the noncentral t cdf with DELTA = 1 to the t cdf with the same number of degrees of freedom (10).
x = (-5:0.1:5)'; p1 = nctcdf(x,10,1); p = tcdf(x,10); plot(x,p,'-',x,p1,'-')

[1] Evans, M., N. Hastings, and B. Peacock. Statistical Distributions. 2nd ed., Hoboken, NJ: John Wiley & Sons, Inc., 1993, pp. 147–148.
[2] Johnson, N., and S. Kotz. Distributions in Statistics: Continuous Univariate Distributions-2. Hoboken, NJ: John Wiley & Sons, Inc., 1970, pp. 201–219.
cdf, nctpdf, nctinv, nctstat, nctrnd
![]() | NComponents property (gmdistribution) | nctinv | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |