Navigation

Operators and Keywords

Function List:

C++ API

: fliplr (x)

Flip array left to right.

Return a copy of x with the order of the columns reversed. In other words, x is flipped left-to-right about a vertical axis. For example:

fliplr ([1, 2; 3, 4])
     ⇒  2  1
         4  3

See also: flipud, flip, rot90, rotdim.

Package: octave