>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  FIXANGH
Libraries

FIXANGH

FIXANGH

Name


      FIXANGH

Purpose


      Fix angle wraparound using a hysteresis method.

Category


Calling Sequence


      out = fixangh(in,delta)

Inputs


      in = input angle in degrees. in
      delta = hysteresis value. in

Keyword Parameters


Outputs


      out = fixed angle. out

Common Blocks


Notes


      Notes: when angle in varies above 360+delta it is reset
      to delta. When it varies below -delta it is reset to
      360-delta. This should reduce the annoying jitter when
      the angle varies about the 0/360 break point.
      Plot resulting angle for yran=[-delta,360+delta].

Modification History


      R. Sterner, 1996 May 12
  Copyright (C) 1996, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us