laplace_rnd
Random arrays from the Laplace distribution.
r = laplace_rnd (mu, beta)
returns an array of
random numbers chosen from the Laplace distribution with parameters mu
and beta. The size of r is the common size of mu and
beta. A scalar input functions as a constant matrix of the same size
as the other inputs. Both parameters must be reals and beta > 0. For
beta <= 0, NaN is returned.
When called with a single size argument, return 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 of dimensions sz.
See also: laplace_cdf, laplace_inv, laplace_rnd
Source Code: laplace_rnd