Test if SO(2) rotation matrix
isrot2(R) is true (1) if the argument is of dimension 2x2 or 2x2xN, else false (0).
isrot2(R, 'valid') as above, but also checks the validity of the rotation matrix.
ishomog2, isvec
Robotics Toolbox for MATLAB © 1990-2014 Peter Corke.