Flip array left to right
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.