Statistics Toolbox    
frnd

Random numbers from the F distribution

Syntax

Description

R = frnd(V1,V2) generates random numbers from the F distribution with numerator degrees of freedom V1 and denominator degrees of freedom V2. Vector or matrix inputs for V1 and V2 must have the same size, which is also the size of R. A scalar input for V1 or V2 is expanded to a constant matrix with the same dimensions as the other input.

R = frnd(V1,V2,m) generates random numbers from the F distribution with parameters V1 and V2, where m is a 1-by-2 vector that contains the row and column dimensions of R.

R = frnd(V1,V2,m,n) generates random numbers from the F distribution with parameters V1 and V2, where scalars m and n are the row and column dimensions of R.

Examples

See Also

fcdf, finv, fpdf, fstat


  friedman fstat