nakarnd
Random arrays from the Nakagami distribution.
r = nakarnd (mu, omega)
returns an array of random
numbers chosen from the Nakagami distribution with shape parameter mu
and spread parameter omega. The size of r is the common size of
mu and omega. A scalar input functions as a constant matrix of
the same size as the other inputs.
Both parameters must be positive reals and mu >= 0.5
. For
mu < 0.5
or omega <= 0
, NaN
is returned.
When called with a single size argument, nakarnd
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 Nakagami distribution can be found at https://en.wikipedia.org/wiki/Nakagami_distribution
See also: nakacdf, nakainv, nakapdf, nakafit, nakalike, nakastat
Source Code: nakarnd