euler_sup.m

From Spinach Documentation Wiki
Revision as of 15:05, 5 April 2026 by Kuprov (talk | contribs) (Sync syntax/arguments/outputs with current Spinach source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Superposition of ZYZ active Euler rotations.

Syntax

rot_cmp=euler_sup(rot_one,rot_two)

Arguments

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
ilya.kuprov@weizmann.ac.il