frnd

Generate random data from an F distribution.

Syntax

rnd=frnd(m,n)

rnd=frnd(m,n,r,c)

Inputs

m
Degrees of freedom.
Type: integer
Dimension: scalar | vector | matrix
n
Degrees of freedom.
Type: integer
Dimension: scalar | vector | matrix
r,c
Number of matrix rows and columns.
Type: integer
Dimension: scalar

Outputs

rnd
Random data.

Examples

Single value frnd example:
m=30;
n=20;
rnd = frnd(m,n)
rnd = 1.0392
Vectorfrnd example:
m=30;
n=20;
r = 1;
c = 5;
rnd = frnd(m,n,r,c)
rnd = [Matrix] 1 x 5
1.0392 1.2396 0.73882 1.694 0.55216