DSP Blockset | ![]() ![]() |
Flip the input vertically or horizontally.
Library
Signal Management / Indexing
Description
The Flip block vertically or horizontally reverses the M-by-N input matrix, u
. The output always has the same dimension and frame status as the input.
When Columns is selected from the Flip along menu, the block vertically flips the input so that the first row of the input is the last row of the output.
For convenience, length-M 1-D vector inputs are treated as M-by-1 column vectors for vertical flipping.
When Rows is selected from the Flip along menu, the block horizontally flips the input so that the first column of the input is the last column of the output.
For convenience, length-N 1-D vector inputs are treated as 1-by-N row vectors for horizontal flipping. The output always has the same dimension and frame status as the input.
Dialog Box
Supported Data Types
To learn how to convert to the above data types in MATLAB and Simulink, see Supported Data Types and How to Convert to Them.
See Also
Selector |
Simulink |
Transpose |
DSP Blockset |
Variable Selector |
DSP Blockset |
flipud |
MATLAB |
fliplr |
MATLAB |
Also see Indexing for a list of all the blocks in the Indexing library.
![]() | FIR Rate Conversion | Forward Substitution | ![]() |