General Block Interleaver
Rearrangement of symbols in the input vector.
Description
The General Block Interleaver rearranges the elements of the input vector without repeating or skipping any elements. If the input vector contains elements, the Permutation vector parameter is a column vector of length . The column vector indicates the index order of the input elements that form the output vector of length , i.e.
Output ( ) = Input (Permutation vector( ))
for each integer between 1 and . The Permutation vector parameter must consist of integers from 1 to with no repetitions.
The input data and the Permutation vector parameter must be column vectors.
Ports
Input
u - input signal
`vector column
Input signal as a column vector of length .
Data types: Float32
, Float64
, Int8
, Int16
, Int32
, UInt8
, UInt16
, UInt32
, Bool
, Fixed
.
k - vector of permutations
vector-column of integers
Vector-column of length , which lists the indices of output elements obtained from the input vector.
Dependencies
To use this port, set the Permutation vector source parameter to Input port
.
Parameters
Permutation vector source - the source of the permutation vector
Dialog (by default)
| Input port
Defines the source of the permutation vector:
-
Dialog
- the permutation vector is specified by the Permutation vector parameter. -
Input port
- the permutation vector is set through the k port.
Permutation vector - permutation vector
[5,4,3,2,1] (by default)
| ` vector-column of integers`
Vector-column of length , which lists the indices of output elements obtained from the input vector.
Dependencies
To use this port, set the Permutation vector source parameter to Dialog
.