Professional Documents
Culture Documents
http://www.srs1software.com/srs1cubicspline.aspx
Note:
(1) You must have the 'SRS1 Cubic Spline for Excel' (Version 2.5 or later) installed for the functions in
(2) For each function, we show two ways to calculate the results. The functions in 'SRS1 Cubic Splin
output formulas and 'array output' formulas. Both work fine, but if you are calculating many values,
downside of using the 'Array formulas' method is that it is more confusing to use. To see a video de
section of our 'Data Curve Fit Creator Add-in' product page:
(3) The last worksheet in this workbook ("ConstrainedSplines") demonstrates an example of where th
http://www.srs1software.com/DataCurveFitCreator.aspx
----------------------------------------------------------
ions in 'SRS1 Cubic Spline for Excel' are made to work as both standard single value
calculating many values, then the 'array formula' method can calculate faster. The
to use. To see a video demo of how to use 'array formulas', see the video demo
s an example of where the Bessel spline and OneWay spline might be useful.
Source Data Linear Interpolation
X Y X Y Y
2 0 2 0 #NAME?
4 1 2.2 0.1 #NAME?
5 2 2.4 0.2 #NAME?
7 5 2.6 0.3 #NAME?
9 6.5 2.8 0.4 #NAME?
11 7 3 0.5 #NAME?
3.2 0.6 #NAME?
3.4 0.7 #NAME?
3.6 0.8 #NAME?
3.8 0.9 #NAME?
4 1 #NAME?
4.2 1.2 #NAME?
4.4 1.4 #NAME?
4.6 1.6 #NAME?
4.8 1.8 #NAME?
5 2 #NAME?
5.2 2.3 #NAME?
5.4 2.6 #NAME?
5.6 2.9 #NAME?
5.8 3.2 #NAME?
6 3.5 #NAME?
6.2 3.8 #NAME?
6.4 4.1 #NAME?
6.6 4.4 #NAME?
6.8 4.7 #NAME?
7 5 #NAME?
7.2 5.15 #NAME?
7.4 5.3 #NAME?
7.6 5.45 #NAME?
7.8 5.6 #NAME?
8 5.75 #NAME?
8.2 5.9 #NAME?
8.4 6.05 #NAME?
8.6 6.2 #NAME?
8.8 6.35 #NAME?
9 6.5 #NAME?
9.2 6.55 #NAME?
9.4 6.6 #NAME?
9.6 6.65 #NAME?
9.8 6.7 #NAME?
10 6.75 #NAME?
10.2 6.8 #NAME?
10.4 6.85 #NAME?
10.6 6.9 #NAME?
10.8 6.95 #NAME?
11 7 #NAME?
8
4 Y
Linear Interpolation
3
0
0 2 4 6 8 10 12
Source Data Cubic Spline
X Y X Y Y
2 0 2 0 #NAME?
4 1 2.2 0.074264 #NAME?
5 2 2.4 0.150088 #NAME?
7 5 2.6 0.229031 #NAME?
9 6.5 2.8 0.312654 #NAME?
11 7 3 0.402516 #NAME?
3.2 0.500176 #NAME?
3.4 0.607195 #NAME?
3.6 0.725132 #NAME?
3.8 0.855547 #NAME?
4 1 #NAME?
4.2 1.160151 #NAME?
4.4 1.338063 #NAME?
4.6 1.535899 #NAME?
4.8 1.755824 #NAME?
5 2 #NAME?
5.2 2.26934 #NAME?
5.4 2.559748 #NAME?
5.6 2.865881 #NAME?
5.8 3.18239 #NAME?
6 3.503931 #NAME?
6.2 3.825157 #NAME?
6.4 4.140723 #NAME?
6.6 4.445283 #NAME?
6.8 4.733491 #NAME?
7 5 #NAME?
7.2 5.24067 #NAME?
7.4 5.456176 #NAME?
7.6 5.648399 #NAME?
7.8 5.81922 #NAME?
8 5.970519 #NAME?
8.2 6.104176 #NAME?
8.4 6.222072 #NAME?
8.6 6.326088 #NAME?
8.8 6.418104 #NAME?
9 6.5 #NAME?
9.2 6.573481 #NAME?
9.4 6.639547 #NAME?
9.6 6.699022 #NAME?
9.8 6.75273 #NAME?
10 6.801494 #NAME?
10.2 6.846138 #NAME?
10.4 6.887487 #NAME?
10.6 6.926365 #NAME?
10.8 6.963594 #NAME?
11 7 #NAME?
8
4 Y
Cubic Spline
3
0
0 2 4 6 8 10 12
bic Spline
Source Data Bessel spline
X Y X Y Y
2 0 2 0 #NAME?
4 1 2.2 0.04 #NAME?
5 2 2.4 0.093333 #NAME?
7 5 2.6 0.16 #NAME?
9 6.5 2.8 0.24 #NAME?
11 7 3 0.333333 #NAME?
3.2 0.44 #NAME?
3.4 0.56 #NAME?
3.6 0.693333 #NAME?
3.8 0.84 #NAME?
4 1 #NAME?
4.2 1.173333 #NAME?
4.4 1.36 #NAME?
4.6 1.56 #NAME?
4.8 1.773333 #NAME?
5 2 #NAME?
5.2 2.25275 #NAME?
5.4 2.538667 #NAME?
5.6 2.84925 #NAME?
5.8 3.176 #NAME?
6 3.510417 #NAME?
6.2 3.844 #NAME?
6.4 4.16825 #NAME?
6.6 4.474667 #NAME?
6.8 4.75475 #NAME?
7 5 #NAME?
7.2 5.21525 #NAME?
7.4 5.412 #NAME?
7.6 5.59175 #NAME?
7.8 5.756 #NAME?
8 5.90625 #NAME?
8.2 6.044 #NAME?
8.4 6.17075 #NAME?
8.6 6.288 #NAME?
8.8 6.39725 #NAME?
9 6.5 #NAME?
9.2 6.595 #NAME?
9.4 6.68 #NAME?
9.6 6.755 #NAME?
9.8 6.82 #NAME?
10 6.875 #NAME?
10.2 6.92 #NAME?
10.4 6.955 #NAME?
10.6 6.98 #NAME?
10.8 6.995 #NAME?
11 7 #NAME?
8
4 Y
Bessel spline
3
0
0 2 4 6 8 10 12
sel spline
Source Data OneWay Spline
X Y X Y Y
2 0 2 0 #NAME?
4 1 2.2 0.04 #NAME?
5 2 2.4 0.093333 #NAME?
7 5 2.6 0.16 #NAME?
9 6.5 2.8 0.24 #NAME?
11 7 3 0.333333 #NAME?
3.2 0.44 #NAME?
3.4 0.56 #NAME?
3.6 0.693333 #NAME?
3.8 0.84 #NAME?
4 1 #NAME?
4.2 1.173333 #NAME?
4.4 1.36 #NAME?
4.6 1.56 #NAME?
4.8 1.773333 #NAME?
5 2 #NAME?
5.2 2.25275 #NAME?
5.4 2.538667 #NAME?
5.6 2.84925 #NAME?
5.8 3.176 #NAME?
6 3.510417 #NAME?
6.2 3.844 #NAME?
6.4 4.16825 #NAME?
6.6 4.474667 #NAME?
6.8 4.75475 #NAME?
7 5 #NAME?
7.2 5.21525 #NAME?
7.4 5.412 #NAME?
7.6 5.59175 #NAME?
7.8 5.756 #NAME?
8 5.90625 #NAME?
8.2 6.044 #NAME?
8.4 6.17075 #NAME?
8.6 6.288 #NAME?
8.8 6.39725 #NAME?
9 6.5 #NAME?
9.2 6.595 #NAME?
9.4 6.68 #NAME?
9.6 6.755 #NAME?
9.8 6.82 #NAME?
10 6.875 #NAME?
10.2 6.92 #NAME?
10.4 6.955 #NAME?
10.6 6.98 #NAME?
10.8 6.995 #NAME?
11 7 #NAME?
8
4 Y
OneWay Spline
3
0
0 2 4 6 8 10 12
Way Spline
Constrained Splines Sample
This set of data shows the benefits of using Bessel and OneWay splines. These splines generally
reduce the amount of unwanted oscillations ("wiggles" or "overshoot") in an interpolation. The
OneWay spline contrains the interpolation the most.
For this particular source data, the cubic spline interpolation displays some overshoot. This
might not be what wanted. The Bessel Spline partially eliminates this, and the OneWay spline
totally eliminates this
The interpolation values are calculated for each type of interpolation in the data grid below here.
The plot for each type of interpolation can be displayed by selecting the corresponding drop
down value from the yellow cell above the plot (N2).
4 5 6 7