nctrnd
Random arrays from the noncentral T distribution.
x = nctrnd (p, df, delta)
returns an array of
random numbers chosen from the noncentral F distribution with parameters
df1, df2, delta). The size of r is the common size
of df1, df2, and delta. A scalar input functions as a
constant matrix of the same size as the other input.
When called with a single size argument, return a square matrix with the dimension specified. When called with more than one scalar argument the first two arguments are taken as the number of rows and columns and any further arguments specify additional matrix dimensions. The size may also be specified with a vector of dimensions sz.
nctrnd
generates values using the definition of a noncentral T random
variable, as the ratio of a normal with non-zero mean and the sqrt of a
chi-square.
See also: nctcdf, nctinv, nctpdf, nctstat
Source Code: nctrnd