2.8.29 spline
Contents
Brief Information
Perform cubic spline interpolation/extrapolation of XY data
Command Line Usage
1. spline ix:=Col(3) iy:=(Col(1), Col(2));
2. spline ix:=Col(3) iy:=Col(2) ox:=Col(4);
X-Function Execution Options
Please refer to the page for additional option switches when accessing the x-function from script
Variables
| 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 |
Description
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.
Examples
- Import Interpolation.dat on \Samples\Mathematics folder.
- Highlight column B and type
spline -don the command window to bring up the dialog. - On the X Value to Interpolate drop-down list, select Col(C).
- Click OK to do interpolation on column C values.
Algorithm
Detail algorithms please read the help of interp1.
Related X-Functions
interp1, interp1xy, interp1q, bspline
Keywords:interpolation, extrapolation