powered by
k*90
rot90(A, k = 1)
matrix
A
k
rot90(matrix(1:4, 2, 2))
Run the code above in your browser using DataLab