Curve Fitting

Lecture 1

 

Stacks Image 3948

 
LEAST-SQUARE FITTING METHODS: The basic theory of curve fitting and least-square error is developed.

 

MATLAB COMMANDS

n/a

MATLAB CODE

 

Lecture 2

 

Stacks Image 3992

 
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

 

Lecture 3

 

Stacks Image 4027

 
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

 

Supplementary Videos

 

Stacks Image 3208
View
Function Handles in MATLAB
Code: file.m
© 2015 kutz