Difference between revisions of "Quat2anax.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "Converts a quaternion into angle-axis rotation parameters. Syntax: [rot_axis,rot_angle]=quat2anax(q) where q is a structure with four fields q.u, q.i, q.j, ...")
 
(sync with Spinach main f053e432: function renamed to qter2anax.m, redirect to new page (history preserved))
(Tag: New redirect)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
Converts a quaternion into angle-axis rotation parameters. Syntax:
+
#REDIRECT [[qter2anax.m]]
−
 
 
−
                [rot_axis,rot_angle]=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. Output:
 
−
 
 
−
    rot_axis - cartesian direction vector given as a row or column
 
−
              with three real elements
 
−
 
 
−
  rot_angle - rotation angle in radians
 

Latest revision as of 09:29, 30 August 2026

Redirect to: