Fliplr

Parent Previous Next

Fliplr


Flip matrix left to right



Syntax


fliplr(x)

x is a matrix

Return a matrix with columns flipped in the left-right direction


Examples


Input

Output

a = [2, 0, 5; i, 3, -0.2]

fliplr(a)


See Also


Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad