Poisson Integer Generator

Generate Poisson-distributed random integers


Random Data Sources sublibrary of Comm Sources


The Poisson Integer Generator block generates random integers using a Poisson distribution. The probability of generating a nonnegative integer k is


where λ is a positive number known as the Poisson parameter.

You can use the Poisson Integer Generator to generate noise in a binary transmission channel. In this case, the Poisson parameter Lambda should be less than 1, usually much less.

Attributes of Output Signal

The output signal can be a frame-based matrix, a sample-based row or column vector, or a sample-based one-dimensional array. These attributes are controlled by the Frame-based outputs, Samples per frame, and Interpret vector parameters as 1-D parameters. See Sources and Sinks in Communications System Toolbox™ User's Guide for more details.

The number of elements in the Initial seed parameter becomes the number of columns in a frame-based output or the number of elements in a sample-based vector output. Also, the shape (row or column) of the Initial seed parameter becomes the shape of a sample-based two-dimensional output signal.

Dialog Box


The Poisson parameter λ. If it is a scalar, then every element in the output vector shares the same Poisson parameter.

Initial seed

The initial seed value for the random number generator.

Sample time

The period of each sample-based vector or each row of a frame-based matrix.

Frame-based outputs

Determines whether the output is frame-based or sample-based. This box is active only if Interpret vector parameters as 1-D is unchecked.

Samples per frame

The number of samples in each column of a frame-based output signal. This field is active only if Frame-based outputs is checked.

Interpret vector parameters as 1-D

If this box is checked, then the output is a one-dimensional signal. Otherwise, the output is a two-dimensional signal. This box is active only if Frame-based outputs is unchecked.

Output data type

The output type of the block can be specified as a double, int8, uint8, int16, uint16, int32, or uint32. By default, the block sets this to double.

See Also

Random Integer Generator; poissrnd (Statistics and Machine Learning Toolbox™)

Was this topic helpful?