Rotates a matrix counterclockwise by a multiple of 90 degrees.
c = rotate90(a)
c = rotate90(a, b)Legacy name: rot90
Matrix you want to rotate.
Multiple of 90 degrees by which you want to rotate a. b is an integer.
a rotated counterclockwise by b*90 degrees. c is a matrix with the same number of elements as a.
A = [1, 2, 3; 4, 5, 6];
C = rotate90(A)
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices