Difference between revisions of "Anax2dcm.m"
(No difference)
|
Revision as of 13:01, 2 November 2015
Converts angle-axis rotation parameters to directional cosine matrix. Angle should be in radians, axis is normalized by the function. Syntax:
dcm=anax2dcm(rot_axis,rot_angle)
Arguments:
rot_axis - cartesian direction vector given as a row or column
with three real elements
rot_angle - rotation angle in radians