Professional Documents
Culture Documents
-
Interpolation
1
Interpolation and extrapolation
2
Interpolation
• Interpolation can be forced to meet the data points. Then it is
considered here as Non-Filtering or sometimes as being Exact. This
can be misleading if understood as “precise”.
• In contrast, when the data points are measured quantities it makes
sense to give corrections to them. Such interpolation will not
always meet the data points. Here we use the term Filtering.
• Accordingly this is also named “non-exact”. The results of filtering
interpolations will be determined by several data points and may
be more precise than results of a non-filtering approach.
3
Linear Interpolation
• Determine values s0 for individual locations t0
4
Linear Interpolation
• A standard example with
more data sets
• The influence of si values on
s0 is limited to its 2 direct
neighbors
• Linear interpolation is Local
because not all observations
are needed to calculate a
single s0.
5
Linear Interpolation
6
Linear Interpolation: Example
t = [ 1 3 5 7 8 10 12 15 ];
s = [ 3 6 3 2 1 1 1 6 ];
7
General polynomial functions
- Any polynomial used for interpolation would be
• Nearest Neighbor
interpolation is local because
the result is only affected by
one single data point.
• Moving through the data
leaps appear (artefacts).
• In such locations the function
will be defined by either left
or right “next” point.
9
Filtering Curve Interpolation
• If interpolation is not forced to pass through the data points the observed data
get corrections. Such interpolation is called filtering.
• Corrections depend on the data AND on functional and stochastical assumptions
about them.
10
Filtering Curve Interpolation: IDW
Inverse (Squared) Distance Weighting (IDW, ISDW)
11
Filtering Curve Interpolation: IDW
Inverse Distance Weighting (IDW)
12
Filtering Curve Interpolation: IDW
Inverse squared Distance Weighting (ISDW)
13
Filtering Curve Interpolation: IDW
Inverse (Squared) Distance Weighting (IDW, ISDW)
14
Filtering Curve Interpolation: IDW
Inverse (Squared) Distance Weighting (IDW, ISDW)
15
IDW Interpolation for Standard example
t = [ 1 3 5 7 8 10 12 15 ];
s = [ 3 6 3 2 1 1 1 6 ];
IDW Interpolation for Standard example
sums:
16
check result: (=s0)
IDW Example
17