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

OPFIT1D

OPFIT1D

Name


      OPFIT1D

Purpose


      Calculate orthonormal polynomial fit for 1-d data.

Category


Calling Sequence


      yfit = opfit1d( y, ndeg, [x, c, p])

Inputs


      y = Data to fit. in
      ndeg = Degree of polynomial to use. in
      x = optional vector of independant variable values. in
        Degree must be greater than 1.

Keyword Parameters


Outputs


      c = opt. matrix of orthonormal polynomial coef. out
      p = optional vector of orthonormal polynomial values. out
      yfit = 1-d fit to original data. out

Common Blocks


Notes


      Notes: Method is based on Forsythe, J. Soc. Indust.
        Appl. Math. 5, 74-88,1957.

Modification History


      19-MAR-85 -- Initial entry by RBH@APL (as opfit.pro)
      28-DEC-91 -- Name changed from opfit to opfit1d. blg
      R. Sterner, 6 Mar, 1992 --- cleaned up.
  Copyright (C) 1992, 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