Engee documentation

Flip

Reverses the input signal vertically or horizontally.

blockType: Flip

Path in the library:

/Signal Operations/Signal Management/Indexing/Flip

Description

The Flip block vertically or horizontally flips the input matrix to . The block defines the dimension to flip using the parameters Flip along.

Ports

Input

# IN — Input signal
the matrix

Details

The input signal specified in the form of a matrix on .

Data types

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

Complex numbers support

I don’t

Output

# OUT — inverted output matrix
the matrix

Details

Inverted output signal returned as a matrix on . The output signal always has the same dimension as the input.

Data types

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

Complex numbers support

I don’t

Parameters

Parameters

# Flip along — the size to flip along
Rows | Columns

Details

Specify the size by which the input data should be flipped, as Columns or Rows.

  • When setting the value Columns The block flips the input data vertically, so that the first row of the input data becomes the last row of the output data.

    When flipping the signal vertically, the block considers undirected vector signals of length as column vectors on .

  • When setting the value Rows The block flips the input data horizontally, so that the first column of the input becomes the last column of the output.

    When flipping the signal horizontally, the block considers undirected vector signals of length as string vectors on .

Values

Rows | Columns

Default value

Columns

Program usage name

FlipAlong

Tunable

No

Evaluatable

No