Euler angles to homogeneous transform
TR = ZYZ2TR(PHI, THETA, PSI, OPTIONS) TR = ZYZ2TR(EUL, OPTIONS)
TR = ZYZ2TR(PHI, THETA, PSI, OPTIONS) is a homogeneous transformation equivalent to the specified Euler angles. These correspond to rotations about the Z, Y, Z axes respectively. If PHI, THETA, PSI are column vectors then they are assumed to represent a trajectory and R is a three dimensional matrix, where the last index corresponds to rows of PHI, THETA, PSI.
TR = ZYZ2TR(EUL, OPTIONS) as above but the Euler angles are taken from consecutive columns of the passed matrix EUL = [PHI THETA PSI].
Compute angles in degrees (radians default)
Computes TR by means of a compiled c-function (faster)
Vectors PHI, THETA, PSI must be of the same length.
The translational part is zero.
TR can be evaluated more efficiently by means of rts_c_zyz2tr.