Statistics Toolbox
  Go to function:
    Search    Help Desk 
betarnd    Examples

Random numbers from the beta distribution.

Syntax

Description

R = betarnd(A,B) generates beta random numbers with parameters A and B. The size of R is the common size of A and B if both are matrices. If either parameter is a scalar, the size of R is the size of the other.

R = betarnd(A,B,m) generates beta random numbers with parameters A and B. m is a 1-by-2 vector that contains the row and column dimensions of r.

R = betarnd(A,B,m,n) generates an m by n matrix of beta random numbers with parameters A and B.

Examples



[ Previous | Help Desk | Next ]