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

INTERPX

INTERPX

Name


      INTERPX

Purpose


      Interpolate data with possible gaps and missing (bad) values.

Category


Calling Sequence


      yy = interp1(x,y,xx)

Inputs


      x,y = input points. in
        x is assumed monotonically increasing.
      xx = desired x values. in
        xx need not be monotonically increasing.

Keyword Parameters


Keywords


        BAD=b Values GREATER THAN b are considered missing.
        GAP=g Gaps in x greater than or equal to this
          are broken by setting the output curve points
          in the gaps to a flag value of 32000 or BAD if given.
        /FIXBAD means interpolate across bad data between
          closest good points on each side. Otherwise the
          bad points are flagged with the value specified
          for BAD.

Outputs


      yy = interpolated y values. out

Common Blocks


Notes


      Notes: Flagged values may be used to break a plotted
          curve using MAX_VALUE in the PLOT or OPLOT command:
          plot,x,y,max_value=999
          SLOW for more than a few thousand points.

Modification History


      R. Sterner, 12 Aug, 1993
  Copyright (C) 1993, 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