Categories &

Functions List

Function Reference: frnd

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

Random arrays from the F-distribution.

r = frnd (df1, df2) returns an array of random numbers chosen from the F-distribution with df1 and df2 degrees of freedom. The size of r is the common size of df1 and df2. A scalar input functions as a constant matrix of the same size as the other inputs.

When called with a single size argument, frnd returns 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 row vector of dimensions, sz.

Further information about the F-distribution can be found at https://en.wikipedia.org/wiki/F-distribution

See also: fcdf, finv, fpdf, fstat

Source Code: frnd