### Function Reference: `logirnd`

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

Random arrays from the logistic distribution.

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

Both parameters must be reals and `sigma > 0`. For `sigma <= 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