Curve Fitting

 

EXPFIT

Fit y(x) = A * exp(B*x) using linearization

GAUSSFIT

Fit y(x) = A * exp(-B*(x-C)^2) using linearization

IGRID

Interpolate XYZ data to regular grid using the Inverse Distance Method

INTERP2

Perform two-dimensional linear interpolation

LFIT

Fit a line to a series using the end points

LINFIT

Least squares method of fitting an arbitrary set of basis functions to a series.

LINREG

Fit a line to series

LINREG2

Regress two series

LSINFIT

Least squares method of fitting sine curves of known frequency

PFIT

Least squares polynomial fitting with error statistics

POLYFIT

Return polynomial coefficients

POLYGRAPH

Graph polynomial fit

POWFIT

Fit y(x) = A * x^B using linearization

SINFIT

Fit y(x) = A + B * sin(C*x + D) using the FFT

SINTREND

Fit y(x) = A + B*x + C * sin(D*x + E) using the FFT

SPLINE

Cubic spline interpretation

SPLINE2

Perform two-dimensional cubic spline interpolation