| Statistics Toolbox | Search  Help Desk |
| nctrnd | Examples See Also |
Random matrices from noncentral T distribution.
Syntax
R = nctrnd(V,DELTA) R = nctrnd(V,DELTA,m) R = nctrnd(V,DELTA,m,n)
Description
R = nctrnd(V,DELTA) returns a matrix of random numbers chosen from the noncentral T distribution with parameters V and DELTA. The size of R is the common size of V and DELTA if both are matrices. If either parameter is a scalar, the size of R is the size of the other parameter.
R = nctrnd(V,DELTA,m) returns a matrix of random numbers with parameters V and DELTA. m is a 1-by-2 vector that contains the row and column dimensions of R.
R = nctrnd(V,DELTA,m,n) generates random numbers with parameters V and DELTA. The scalars m and n are the row and column dimensions of R.
Example
nctrnd(10,1,5,1)
ans =
1.6576
1.0617
1.4491
0.2930
3.6297
References
See Also
nctcdf,nctinv,nctpdf,nctstat