R = sw_rotmatd(rotAxis,rotAngle)
R = sw_rotmatd(rotAxis,rotAngle) produces the R rotation matrix, for identically to sw_rotmat, except that here the unit of rotAngle is °.
R
rotAngle
sw_rotmat | sw_rot