Engee documentation

General Block Deinterleaver

Restoring the order of characters in the input vector.

blockType: GeneralBlockDeinterleaver

Path in the library:

/Communication Systems/Interleaving/Block/General Block Deinterleaver

Description

Block General Block Deinterleaver rearranges the elements of the input vector without repeating or skipping a single element. If the input vector contains elements, then the parameter Permutation vector represents a column vector of length . The column vector indicates the order of the indices of the output elements obtained from the input vector. That is, for every integer between and

Exit (Permutation vector( )) = Input ( ).

Parameter Permutation vector must consist of integers from 1 before without repetition.

Example

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

If the parameter Permutation vector It matters [4,1,3,2], and the input vector is — [1,40,59,32], then the output vector will have the value [40,32,59,1].

Ports

Output

# OUT_1 — Output signal
column vector

Details

The output signal is 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

Complex numbers support

I don’t

Input

# IN_1 — Input signal
column vector

Details

The input signal is in the form of a column vector.

Data types

Float32, Float64, Int8, Int16, Int32, UInt8, UInt16, UInt32, Bool, Fixed

Complex numbers support

I don’t

# u — Input signal
column vector

Details

The input signal is in the form of a column vector of length .

Dependencies

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

Data types

Float32, Float64, Int8, Int16, Int32, UInt8, UInt16, UInt32, Bool, Fixed

Complex numbers support

I don’t

# k — vector of permutations
A vector is a column of integers

Details

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

Dependencies

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

Data types

Float64

Complex numbers support

I don’t

Parameters

Main

# Permutation vector source — the source of the permutation vector
Dialog | Input Port

Details

Defines the source of the permutation vector:

  • Dialog — the permutation vector is set by the parameter Permutation vector;

  • Input Port — the permutation vector is set via port k.

Values

Dialog | Input Port

Default value

Dialog

Program usage name

Permutation_vector_source

Tunable

No

Evaluatable

No

# Permutation vector — a vector of permutations
Scalar / array of real numbers

Details

Vector-column of length , which lists the indexes of the input elements obtained from the output vector.

Dependencies

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

Default value

[5,4,3,2,1]

Program usage name

Permutation_vector

Tunable

No

Evaluatable

Yes