ANGLEABSDIFF Absolute difference between two angles.
AD = angleAbsDiff(ANGLE1, ANGLE2)
Computes the absolute angular difference between two angles in radians.
The result is comprised between 0 and PI.
Example
A = angleAbsDiff(pi/2, pi/3)
A =
0.5236 % equal to pi/6
See also
angles2d, angleDiff
------
Author: David Legland
e-mail: david.legland@grignon.inra.fr
Created: 2011-07-27, using Matlab 7.9.0.529 (R2009b)
Copyright 2011 INRA - Cepia Software Platform.
Package: matgeom