Difference between revisions of "Quat2anax.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Update function See also links and function index membership)
(sync with Spinach main f053e432: function renamed to qter2anax.m, redirect to new page (history preserved))
(Tag: New redirect)
 
Line 1: Line 1:
−
{{DISPLAYTITLE:quat2anax.m}} __NOTOC__
+
#REDIRECT [[qter2anax.m]]
−
Converts a quaternion representation of a rotation into angle-axis rotation parameters.
 
−
 
 
−
==Syntax==
 
−
 
 
−
    [rot_axis,rot_angle]=quat2anax(q)
 
−
 
 
−
==Parameters==
 
−
 
 
−
    q  -  quaternion, a structure with four fields
 
−
            q.u, q.i, q.j, q.k giving the four compo-
 
−
            nents of the quaternion
 
−
 
 
−
==Outputs==
 
−
 
 
−
    rot_axis  - cartesian direction vector as a row
 
−
                with three real elements
 
−
 
−
    rot_angle - rotation angle in radians
 
−
 
 
−
==Notes==
 
−
See the notes on [[rotation conventions]] for the basic definitions of rotations in ''Spinach''.
 
−
 
 
−
==See also==
 
−
[[euler2dcm.m]], [[wigner.m]], [[anax2quat.m]], [[anax2dcm.m]], [[axis_tsymm.m]], [[dcm2euler.m]], [[dcm2wigner.m]], [[euler_sup.m]], [[rotmat_align.m]], [[rotor_stack.m]], [[xyz2sph.m]], [[Kernel_utilities]]
 
−
 
 
−
''Version 2.3, authors: [[Ilya Kuprov]]''
 

Latest revision as of 09:29, 30 August 2026

Redirect to: