rndp#

Purpose#

Computes pseudo-random numbers with Poisson distribution.

Format#

x = rndp(r, c, lambda)#
Parameters:
  • r (scalar) – number of rows of resulting matrix.

  • c (scalar) – number of columns of resulting matrix.

  • lambda (MxN matrix) – ExE conformable with r x c resulting matrix, shape parameters for Poisson distribution.

Returns:

x (r x c matrix) – Poisson distributed pseudo-random numbers.

Remarks#

The properties of the pseudo-random numbers in x are:

E(x)

=

lambda

Var(x)

=

lambda

x

=

0,1,2,…

lambda

>

0

Source#

random.src