POLYFIT - Polynomial fitting for HFRC objects. Usage: [ P, S, MU ] = polyfit( hfrc, N ) [ P, S, MU ] = polyfit( hfrc, N, vname ) The first form performs a polyfit on each grid point of the HFRC object on the variables U and V. In this case, P, S, and MU will be structures with U and V fields - the polynomials for these components. These fields will be gridPts x N matrices. If vname is given, then it should be a string with the name of the individual variable to be fit. In this case P, S and MU will just be matrices. This function takes out bad data when performing the fit. For removing the given polynomial from an HFRC object or generating an HFRC object with the trend see HFRC/polyval. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% $Id: polyfit.m,v 1.3 2003-11-24 18:57:34 dmk Exp $ Copyright (C) 2002 David M. Kaplan Licence: GPL (Gnu Public License) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

- end END - basic end method for HFRC objects.
- gooddata GOODDATA - returns a matrix of good data in object.
- isempty
- polyfit POLYFIT - Polynomial fitting for HFRC objects.
- size SIZE - returns [ (num times), (num gridpts) ].

- lst_squ_harmonics LST_SQU_HARMONICS - Removes harmonics (typically tides) from HFRC objects.
- polyfit POLYFIT - Polynomial fitting for HFRC objects.
- principal_axis PRINCIPAL_AXIS - Finds principal axis of each grid point.

Generated on Mon 18-Dec-2006 07:26:46 by