Main Content
fliplr
Flip array left to right
Syntax
Description
B = fliplr(
returns A
)A
with
its columns flipped in the left-right direction (that is, about a
vertical axis).
If A
is a row vector, then fliplr(A)
returns
a vector of the same length with the order of its elements reversed.
If A
is a column vector, then fliplr(A)
simply
returns A
. For multidimensional arrays, fliplr
operates
on the planes formed by the first and second dimensions.
Examples
Input Arguments
Tips
Extended Capabilities
Version History
Introduced before R2006a