Skip to content

compute_orientationvector

  COMPUTE_ORIENTATIONVECTOR
      VECTOR = COMPUTE_ORIENTATIONVECTOR( ANGLES, RATES )

      Takes ANGLES in degrees and returns the orientation vector:

      vector = (rates*transpose(exp(sqrt(-1)*2*mod(angles*pi/180,pi))))/N

      The vector is normalized by a factor of N, which is 2 if the angles
      go all the way around the clock (that is, they sample from 0 to 360)
      as opposed to from 0 to 180 (N = 1).

      no interpolation done