Flip
Reverses the input signal vertically or horizontally.
blockType: Flip
Path in the library:
|
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 |
|
| 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 |
|
| 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
ColumnsThe 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
RowsThe 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 |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
No |