| Communications Blockset™ | ![]() |
Block sublibrary of Interleaving
The General Block Deinterleaver block rearranges the elements of its input vector without repeating or omitting any elements. The input can be real or complex. If the input contains N elements, then the Elements parameter is a vector of length N that indicates the indices, in order, of the output elements that came from the input vector. That is, for each integer k between 1 and N,
Output(Elements(k)) = Input(k)
The Elements parameter must contain unique integers between 1 and N.
If the input is frame-based, then both it and the Elements parameter must be column vectors.
The block can accept the data types int8, uint8, int16, uint16, int32, uint32, boolean, single, double, and fixed-point. The data type of this output will be the same as that of the input signal.
To use this block as an inverse of theGeneral Block Interleaver block, use the same Elements parameter in both blocks. In that case, the two blocks are inverses in the sense that applying the General Block Interleaver block followed by the General Block Deinterleaver block leaves data unchanged.

A vector of length N that lists the indices of the output elements that came from the input vector.
This example reverses the operation in the example on the General Block Interleaver block reference page. If Elements is [4,1,3,2] and the input to the General Block Deinterleaver block is [1;40;59;32], then the output of the General Block Deinterleaver block is [40;32;59;1].
perms (MATLAB® function)
![]() | Gaussian Noise Generator | General Block Interleaver | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |