<< CL_oe_kep2cir Coordinates and frames CL_rot_angles2matrix >>

CelestLab >> Coordinates and frames > CL_rot_angVelocity

CL_rot_angVelocity

Angular velocity vector from rotation angles and derivatives

Calling Sequence

[omega] = CL_rot_angVelocity(naxes,angles,angles_der)

Description

Parameters

naxes :

Axes numbers: 1=x-axis, 2=y-axis or 3=z-axis (1xP or Px1)

angles :

Rotation angles around respective axes [rad] (PxN)

angles_der :

Time derivatives of angles [rad/s] (PxN)

omega :

Angular velocity vector (see above for definition) [rad/s] (3xN)

Authors

See also

Examples

// Example 1
naxes = [3,1,3]; // Euler angles
angles = [%pi/4; %pi/8; %pi/6];
angles_der = [0.1; -0.2; 0.3];
omega = CL_rot_angVelocity(naxes,angles,angles_der);

// Example 2
naxes = [1,3,1,3]; // XZXZ
angles = [%pi/4; %pi/8; %pi/6; %pi/10];
angles_der = [0.1; -0.2; 0.3; 0.5];
omega = CL_rot_angVelocity(naxes,angles,angles_der);

Report an issue
<< CL_oe_kep2cir Coordinates and frames CL_rot_angles2matrix >>