Perform cubic spline interpolation/extrapolation of XY data
1. spline ix:=Col(3) iy:=(Col(1), Col(2));
2. spline ix:=Col(3) iy:=Col(2) ox:=Col(4);
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
X Values to Interpolate | ix |
Input vector |
|
Specifies the X values to be interpolated on the spline |
Input | iy |
Input XYRange |
|
The input XY range data to be interpolated |
Boundary | boundary |
Input int |
|
Boundary condition only available in cubic spline method
Option list:
|
Result of Interpolation | ox |
Output vector |
|
Specifies the column to save output interpolated Y values on the spline |
Coefficients | coef |
Output vector |
|
Whether or not to output spline coefficients |
This function performs Cubic spline interpolation on XY range data. You should specify the X coordinates on the spline, and it will output a vector contains the interpolated values on these X values.
spline -d
on the command window to bring up the dialog.Detail algorithms please read the help of interp1.
interp1, interp1xy, interp1q, bspline
Keywords:interpolation, extrapolation