Quat2dcm.m

From Spinach Documentation Wiki
Jump to: navigation, search

Converts a quaternion rotation specification into a corresponding direction cosine matrix. Syntax:

                          dcm=quat2anax(q)

where q is a structure with four fields q.u, q.i, q.j, q.k giving the four components of the quaternion.