Difference between revisions of "Euler sup.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Normalise preformatted blank lines in function documentation blocks)
m (Rename Arguments section heading to Parameters)
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],

Revision as of 18:48, 5 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, Rotations

Version 2.11, authors: Ilya Kuprov