Skip to content

rot2d

  ROT2D(THETA) 2D rotation matrix

   Returns the 2D rotation matrix:

     R  = [cos(theta) -sin(theta) ; sin(theta) cos(theta) ]