User`s guide
Flip
5-211
5Flip
Purpose 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.
y = flipud(u) % Equivalent MATLAB code
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.
y = fliplr(u) % Equivalent MATLAB code
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
Flip along
The dimension along which to flip the input. Columns specifies vertical
flipping, while
Rows specifies horizontal flipping. Tunable