InsideAngleRange:

Path: Math/Geometry

% Determine whether an angle is inside an angular range.
   
   Type InsideAngleRange for a demo.

   Since version 11.
--------------------------------------------------------------------------
   Form:
   in = InsideAngleRange( theta, range );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   theta     (1,:)   Angle(s) to check (rad)
   range     (1,2)   Angular range (rad)

   -------
   Outputs
   -------
   in        (1,:)   Logical flag. 1 if inside range, 0 if not.

--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D

Back to the Math Module page