Difference between revisions of "Euler sup.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Add missing Version/authors metadata and remove raw author emails)
(Update function See also links and function index membership)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
  rot_cmp=euler_sup(rot_one,rot_two)
 
  rot_cmp=euler_sup(rot_one,rot_two)
  
==Arguments==
+
==Parameters==
  
 
  rot_one  - first Euler angle set [alpha beta gamma],
 
  rot_one  - first Euler angle set [alpha beta gamma],
 
                 radians, ZYZ active convention
 
                 radians, ZYZ active convention
 
+
 
     rot_two  - second Euler angle set [alpha beta gamma],
 
     rot_two  - second Euler angle set [alpha beta gamma],
 
                 radians, ZYZ active convention
 
                 radians, ZYZ active convention
Line 19: Line 19:
 
  rot_cmp  - row vector [alpha beta gamma] of the
 
  rot_cmp  - row vector [alpha beta gamma] of the
 
                 composite rotation, radians
 
                 composite rotation, radians
 
+
 
  Note: rotations are applied in the supplied order
 
  Note: rotations are applied in the supplied order
 
+
 
                 v_rot=R_two*R_one*v
 
                 v_rot=R_two*R_one*v
 
+
 
       therefore the composite matrix is
 
       therefore the composite matrix is
 
+
 
                 R_comp=R_two*R_one
 
                 R_comp=R_two*R_one
  
  
 
==See also==
 
==See also==
[[euler2dcm.m]], [[dcm2euler.m]], [[dcm2wigner.m]], [[Kernel_utilities#Rotations|Rotations]]
+
[[euler2dcm.m]], [[dcm2euler.m]], [[dcm2wigner.m]], [[anax2dcm.m]], [[anax2quat.m]], [[axis_tsymm.m]], [[quat2anax.m]], [[rotmat_align.m]], [[rotor_stack.m]], [[wigner.m]], [[xyz2sph.m]], [[Kernel_utilities]]
  
 
''Version 2.11, authors: [[Ilya Kuprov]]''
 
''Version 2.11, authors: [[Ilya Kuprov]]''

Latest revision as of 19:36, 6 June 2026


Superposition of ZYZ active Euler rotations.

Syntax

rot_cmp=euler_sup(rot_one,rot_two)

Parameters

rot_one   - first Euler angle set [alpha beta gamma],
               radians, ZYZ active convention

   rot_two   - second Euler angle set [alpha beta gamma],
               radians, ZYZ active convention

Outputs

rot_cmp   - row vector [alpha beta gamma] of the
               composite rotation, radians

Note: rotations are applied in the supplied order

                v_rot=R_two*R_one*v

      therefore the composite matrix is

                R_comp=R_two*R_one


See also

euler2dcm.m, dcm2euler.m, dcm2wigner.m, anax2dcm.m, anax2quat.m, axis_tsymm.m, quat2anax.m, rotmat_align.m, rotor_stack.m, wigner.m, xyz2sph.m, Kernel_utilities

Version 2.11, authors: Ilya Kuprov