Skip to Main Content Skip to Search
Product Documentation

randintrlv - Reorder symbols using random permutation

Syntax

intrlvd = randintrlv(data,state)

Description

intrlvd = randintrlv(data,state) rearranges the elements in data using a random permutation. The state parameter initializes the random number generator that the function uses to determine the permutation. state is either a scalar or a 35x1 vector, and is described in the rand function, which is used in randintrlv. The function is predictable and invertible for a given state, but different states produce different permutations. If data is a matrix with multiple rows and columns, the function processes the columns independently.

This function uses, by default, the Mersenne Twister algorithm by Nishimura and Matsumoto.

Examples

For an example using random interleaving and deinterleaving, see Improve Error Rate Using Block Interleaving in MATLAB.

See Also

rand | randdeintrlv

How To

  


Free Early Verification Kit

Learn how to apply early verification to your development process through these technical resources.

How much time do you spend on testing to ensure implementation meets system-level requirements?

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS