CURVEFIT SPL Directory

 

The Curvefit SPL directory contains functions for curve fitting. The following functions are included:

 

EXPFIT

Fits y(x) = A exp(Bx) using linearization.

GAUSSFIT 

Fits y(x) = A exp(-B(x-C)2) using linearization.

LFIT

Fits a line to a series using the end points.

LINFIT

Fits an arbitrary set of basis functions to a series using the least squares method.

LSINFIT

Performs known frequency sine curve fitting using the least squares method.

PFIT

Performs Least Squares Polynomial fitting with error statistics.

POWFIT 

Fits y(x) = A xb using linearization.

SINFIT

Fits y(x) = A + B sin(Cx + D) using the FFT.

SINFIT3

Fits three term cosine conforming to IEEE Std 1241-2010

SINFIT4

Iterative three term cosine fit conforming to IEEE Std 1241-2010

SINTREND

Fits y(x) = A + Bx + C sin(Dx + E) using the FFT.