powered by
rMatrix(theta)
##Rotation matrix by theta = 45 degrees rMatrix(pi/4) ##to rotate clockwise by 45 degrees rMatrix(-pi/4)
Run the code above in your browser using DataLab