Statistics Toolbox
  Go to function:
    Search    Help Desk 
weibrnd    Examples

Random numbers from the Weibull distribution.

Syntax

Description

R = weibrnd(A,B) generates Weibull 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 parameter.

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

R = weibrnd(A,B,m,n) generates Weibull random numbers with parameters A and B. The scalars m and n are the row and column dimensions of R.

Devroye refers to the Weibull distribution with a single parameter; this is weibrnd with A = 1.

Examples

Reference

Devroye, L., Non-Uniform Random Variate Generation. Springer-Verlag.
New York, 1986.



[ Previous | Help Desk | Next ]