Perform linear interpolation/extrapolation of XY data
1. interp1q ix:=Col(3) iy:=Col(2);
2. interp1q 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
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. |
Input | iy |
Input XYRange |
|
The input XY range data to be interpolated |
Result of Interpolation | ox |
Output vector |
|
Specifies the column to save output interpolated Y values |
This function performs linear interpolation on XY range data. You should specify the X coordinates on the curve, and it will output a vector contains the interpolated Y values on these X values.
1. Import Interpolation.dat on \Samples\Mathematics folder.
2. Highlight column B and type interp1q -d
on the command window to bring up the dialog.
3. On the X Value to Interpolate drop-down list, select Col(C).
4. Click OK to do interpolation on column C values.
Detail algorithms please read the help of interp1.
interp1, interp1xy, spline, bspline
Keywords:interpolate, extrapolate