Perform cubic B-Spline interpolation and extrapolation
1. bspline ix:=Col(3) iy:=(Col(1),Col(2));
2. bspline ix:=Col(3) iy:=(Col(1),Col(2)) ox:=Col(4);
Please refer to the page for additional option switches when accessing the x-function from script
Input
vector
Specifies the X values to be interpolated on the spline.
XYRange
The input XY range data to be interpolated.
double
Smoothing Factor. The factor helps user to control the balance between the smoothing and closeness.
Output
Specifies the column to save output interpolated Y values on the spline.
Whether or not to output spline coefficients.
This function performs Cubic B-spline interpolation on XY range data. You should specify the X coordinates on the spline, and it will output a vector contains the interpolated Y values on these X values.
1. Import Interpolation.dat on \Samples\Mathematics folder.
2. Type the following script on command window:
bspline 3 2;
Detail algorithms please read the help of interp1.
interp1, interp1xy, interp1q, spline