Skip to Main Content Skip to Search
Product Documentation

rot90 - Class: categorical

Rotate categorical matrix 90 degrees

Syntax

B = rot90(A)
B = rot90(A,k)

Description

B = rot90(A) returns the 90 degree counterclockwise rotation of the 2-D categorical matrix A.

B = rot90(A,k) returns the k*90 degree rotation of A, k = +-1,+-2,....

See Also

flipdim | fliplr | flipud

  


 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS