EulerAnglesBetweenVectors

Calculate Euler angles between two 3x1 vectors

Parameters

a

The first 3x1 vector

b

The second 3x1 vector

res

The resulting Euler angles as a 1D array of 3 elements (roll, pitch, yaw).