Paulius Gebrauskas
Vilnius, 2018
Content
“
▣ „Curve fitting is the process of constructing a
curve, or mathematical function, that has the
best fit to a series of data points, possibly
subject to constraints“ – Wikipedia.com
Cloverleaf design
Opening Europe's Probability density
first cloverleaf (1935) function (Gaussian Probability density
at Slussen, Stockholm function) function (Voigt
function)
Types of Curve Fitting
Fitting functions Surface applications
to data points Algebraic fit Fitting planes
curves to data
points
x 0 1 2 3 4 5 6
f(x) 0 0.8415 0.9093 0.1411 -0.7568 -0.9589 -0.2794
Curve Fitting. Interpolation
Piecewise constant Linear Polynomial Spline
x 0 1 2 3 4 5 6
f(x) 0 0.8415 0.9093 0.1411 -0.7568 -0.9589 -0.2794
𝑥−𝑥𝑎
𝑦 = 𝑦𝑎 + 𝑦𝑏 − 𝑦𝑎 𝑎𝑡 𝑡ℎ𝑒 𝑝𝑜𝑖𝑛𝑡 (𝑥, 𝑦)
𝑥𝑏 −𝑥𝑎
𝑦 − 𝑦𝑎 𝑥 − 𝑥𝑎
=
𝑦𝑏 − 𝑦𝑎 𝑥𝑏 − 𝑥𝑎
𝑦 − 𝑦𝑎 𝑦𝑏 − 𝑦𝑎
=
𝑥 − 𝑥𝑎 𝑥𝑏 − 𝑥𝑎
Curve Fitting. Interpolation
Piecewise constant Linear Polynomial Spline
x 0 1 2 3 4 5 6
f(x) 0 0.8415 0.9093 0.1411 -0.7568 -0.9589 -0.2794
f(2.5) = 0.5965
a b
Best use -
Probability
distribution
fitting
Software: DataScene
From 590 €
(FlexPro View)
Best use -
Analyzing large
amounts of data,
processing millions
of measurement
values in seconds
Software: GLIM
From 35 € student
license (MATLAB)