Engee documentation

General Block Deinterleaver

Reconstructing the order of characters in the input vector.

general block deinterleaver

Description

The General Block Deinterleaver 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 output elements obtained from the input vector. That is, for each integer between 1 and

Output (Permutation vector( )) = Input ( ).

The Permutation vector parameter must consist of integers from 1 to with no repetitions.

Example

This example reverses the operation described in the example for the block General Block Interleaver.

If the Permutation vector parameter is [4,1,3,2] and the input vector is [1,40,59,32], then the output vector will be [40,32,59,59,1].

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

A vector-column of length , which lists the indices of the input elements obtained from the output vector.

Dependencies

To use this port, set the Permutation vector source parameter to Input port.

Output

Port_1 - output signal
`vector column

Output signal in the form of a column vector. The output signal inherits its data type from the input signal.

Data types: Float32, Float64, Int8, Int16, Int32, UInt8, UInt16, UInt32, Bool, Fixed.

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`

A vector-column of length , which lists the indices of the input elements derived from the output vector.

Dependencies

To use this port, set the Permutation vector source parameter to Dialog.