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. 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, then the function processes the columns independently.

Examples

For an example using random interleaving and deinterleaving, see Example: Block Interleavers.

See Also

randdeintrlv, Interleaving


© 1994-2005 The MathWorks, Inc.