MATLAB Function Reference
  Go to function:
    Search    Help Desk 
fliplr    Examples   See Also

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 ]