M-File Help: rot2 View code for rot2

rot2

SO(2) Rotation matrix

R = rot2(theta) is an SO(2) rotation matrix (2x2) representing a rotation of theta radians.

R = rot2(theta, 'deg') as above but theta is in degrees.

See also

SE2, trot2, isrot2, trplot2, rotx, roty, rotz, SO2


 

© 1990-2014 Peter Corke.