LEAST-SQUARE FITTING METHODS: The basic theory of curve fitting and least-square error is developed.
 
MATLAB COMMANDS
n/a
MATLAB CODE
 
 
 
 
POLYNOMIAL FITS AND SPLINES: Polynomial fitting of the data, via Lagrange polynomials, can also be considered as the fit curves go through all data points. Spline technology is developed to circumvent polynomial wiggle.
 
MATLAB COMMANDS
n/a
MATLAB CODE
 
 
 
 
DATA FITTING WITH MATLAB: We develop a MATLAB code that implements all the theoretical methods considered for curve fitting: least-square fits, polynomial fits and splines.
 
MATLAB COMMANDS
POLYFIT POLYVAL SPLINE INTERP1
MATLAB CODE