Function Reference: ncfrnd

statistics: r = ncfrnd (df1, df2, delta)
statistics: r = ncfrnd (df1, df2, delta, rows, cols, …)
statistics: r = ncfrnd (df1, df2, delta, [sz])

Random arrays from the noncentral F distribution.

x = ncfrnd (p, df1, df2, 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.

ncfrnd generates values using the definition of a noncentral F random variable, as the ratio of a noncentral chi-square and a (central) chi-square.

See also: ncfcdf, ncfinv, ncfpdf, ncfstat

Source Code: ncfrnd