Contents Previous Next Subchapters

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

Returns a real or double matrix containing random elements that are Cauchy 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.