Contents Previous Next Subchapters

Generating Random Numbers with Gumbel Distribution
Syntax gumbelrnd(alpharowscols)
See Also seed , snormal , randperm , unirnd , normrnd

Description
Returns a real or double matrix containing random elements that are Gumbel distributed with displacement alpha, where rows is the number of rows and cols is the number of columns in the result. If the argument alpha is a double then the matrix returned is double, otherwise the return value is real.