Statistics: logirnd

### Function Reference: `logirnd`

statistics: r = logirnd (mu, s)
statistics: r = logirnd (mu, s, rows)
statistics: r = logirnd (mu, s, rows, cols, …)
statistics: r = logirnd (mu, s, [sz])

Random arrays from the logistic distribution.

`r = logirnd (mu, s)` returns an array of random numbers chosen from the logistic distribution with location parameter mu and scale parameter s. The size of r is the common size of mu and s. A scalar input functions as a constant matrix of the same size as the other inputs.

Both parameters must be reals and `s > 0`. For `s <= 0`, `NaN` is returned.

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

Further information about the logistic distribution can be found at https://en.wikipedia.org/wiki/Logistic_distribution

See also: logcdf, logiinv, logipdf, logifit, logilike, logistat

Source Code: logirnd