Function File: gevrnd (k, sigma, mu)
Function File: gevrnd (k, sigma, mu, r)
Function File: gevrnd (k, sigma, mu, r, c, …)
Function File: gevrnd (k, sigma, mu, [sz])

Return a matrix of random samples from the generalized extreme value (GEV) distribution with parameters k, sigma, mu.

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

If no size arguments are given, then the result matrix is the common size of the input parameters.

See also: gevcdf, gevfit, gevinv, gevlike, gevpdf, gevstat.

Package: statistics