Curve
fitting is a technique of finding an algebraic
relationship that best fits a
given set of data.

Engineers and scientists often want to represent empirical information
using a model based on mathematical
equations. With the correct model one can
determine important characteristics of the data, such as the rate of
change along
the curve, the minimum or maximum points of

the function, or the area
under the
curve, among others.

The
goal of data or curve fitting is to find the parameter values that most
closely
match the data. The models to which data are fitted depend on
adjustable
parameters.

Here’s
a video explanation of how you can use the basic fitting tool that can
be found
within the figure windows
in Matlab.