Engee documentation

General Block Interleaver

Permutation of characters in the input vector.

blockType: GeneralBlockInterleaver

Path in the library:

/Communication Systems/Interleaving/Block/General Block Interleaver

Description

Block General Block Interleaver 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 input elements that form the output vector of length That is ,

Exit ( ) = Input (Permutation vector( ))

for each integer between 1 and . Parameter Permutation vector must consist of integers from 1 before without repetition.

Input data and parameter Permutation vector should represent column vectors.

Example

If the parameter Permutation vector It matters [4,1,3,2], and the input vector is — [40,32,59,1], then the output vector will have the value [1,40,59,32]. Note that all these vectors have the same length and Permutation vector contains integer values from 1 before 4.

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 output elements obtained from the input 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 output elements obtained from the input 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