Independent Data | A 1xN array of x values for the curve to be interpolated. These x values must be in ascending order, and the length of the array must be greater than or equal to 4. |
Dependent Data | A 1xN array of y values for the curve to be interpolated. |
Number of Output Values | The number of values to be generated in the output array. |
Function | CSPLINE({1, 2, 3, 4}, {0, 2, 1, 3}, 10) |
Result | {0.0, 0.936, 1.704, 2.0, 1.741, 1.259, 1.0, 1.296, 2.037, 3.0} |
Function | SERIES2(1, 4, 10) |
Result | {1.0, 1.333, 1.667, 2.0, 2.333, 2.667, 3.0, 3.333, 3.667, 4.0} |
Note: | This design function do not exactly represent Solver CUBSPL. The interpolation follows CUBIC method (closely matches) but extrapolation follows 'linear' of 'cubic' based on type of spline specified (based on option extrapolate_linear=yes/no). |