EMT 3200 Group #4 Curve Fitting
EMT 3200 Group #4 Curve Fitting
Names: Usi #:
Terrence De Peana 1013445 (Electrical)
Carlos Moore 1026905 (Electrical)
Hardeo Paramsook 1027131 (Electrical)
Godwin Cameron 1007719 (Electrical)
Oral Torrington 1005749 (Electrical)
Reference 53
http://www.itl.nist.gov/div898/handbook/pmd/section1/pmd142.htm
on 2019/02/15
Gurley. Numerical Methods Lecture 5 – Curve fitting Techniques. CGN 3421 Lecture Notes. Retrieved
From:
http://web.iitd.ac.in/~pmvs/courses/mel705/curvefitting.pdf on 2019/02/12
http://www.snergy.com/Tools/curvefitting.pdf on 2019/02/20
Outline 4
• INTRODUCTION
• AIM
• CURVE FITTING
• METHODS
• APPLICATIONS
• CONCLUSION
Introduction 5
Y= f (X, β) + E
What is it used for 10
FIND THE GENERIC EQUATION THAT REPRESENTS
EVERY POINT ON THE CURVED DATA SET.
Curve Fitting
LINEARIZATION
LEVENBERG‐MARQUARDT ALGORITHM
Linerization 12
THREE COMMON EXPRESSIONS ARE FOUND IN
REAL TIME:
Exponential: y = a ebx
Power: y = axb
Saturation growth:
Linearization 13
Consider
a function to fit data of the general
exponential form
Z = a0 + a1 W
Considera function to fit data of the general
exponential form
Z = a0 + a1 W
Considera function to fit data of the general
exponential form
Y=
Z = a0 + a1 W
Example:
Solution:
a0 = Ź - a 1 ŵ
a1=
a1 = 0.485
a0 = 7.541 – 0.485 (1.383) = 6.870
Therefore:
Z = 6.87 + 0.485 W
ln a = e6.87
Therefore:
y = 962.949 e0.485X
41
Least Squares Method
Consider the general form for Least Square
Method:
Curve Fitting Polynomials with Least 42
Squares
Consider
for the data set
Time 1 2 4 5 8
Years 3 4 6 11 20
Curve Fitting Polynomials with 27
Least Squares
=
Curve Fitting Polynomials with Least 28
Squares
The formula for the least square objective function is
The gradient of is
Curve Fitting Polynomials with 29
Least Squares
This can be Written as
Hence
Curve Fitting Polynomials with Least 30
Squares
The
Hessian matrix is
If
Therefore,
Newton-Gauss Algorithm 49
The Newton-Gauss algorithm is used to
complete least squares problem that are
difficult to solve.
Works well if
the initial guess is close to the actual value
The model fits the data to represented well
• Gauss
Newton:
• Fast convergence but sensitive to the starting
location.
Inthis method the second term of the Hessian is matrix
is also considered.
The
pressure P and volume V of a mass of gas
in a container are related by the law , where n
and c are constants. From the values given
below plot a suitable graph and hence
determine the values of n and c.