generates 3D rotation matrix
Syntax
R = sw_rotmatd(rotAxis,rotAngle)
Description
R = sw_rotmatd(rotAxis,rotAngle) produces the R rotation matrix, for
identically to sw_rotmat, except that here the unit of rotAngle is
°.