Main Content

Random Interleaver

Reorder input symbols using random permutation


Block sublibrary of Interleaving

  • Random Interleaver block


The Random Interleaver block rearranges the elements of its input vector using a random permutation. This block accepts a column vector input signal. The Number of elements parameter indicates how many numbers are in the input vector.

The block accepts the following data types: int8, uint8, int16, uint16, int32, uint32, boolean, single, double, and fixed-point. The output signal inherits its data type from the input signal.

The Initial seed parameter initializes the random number generator that the block uses to determine the permutation. The block is predictable for a given seed, but different seeds produce different permutations.


Number of elements

The number of elements in the input vector.

Initial seed

The initial seed value for the random number generator.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced before R2006a