MATLAB Functions Help Desk

fliplr

Purpose

Flip matrices left-right

Syntax

Description

B = fliplr(A) returns A with columns flipped in the left-right direction, that is, about a vertical axis.

Examples

produces

Limitations

Array A must be two dimensional.

See Also

flipdim     Flip array along a specified dimension

flipud      Flip matrices up-down

rot90       Rotate matrix 90°



[ Previous | Help Desk | Next ]