2.8.11 interp1q

Brief Information

Perform linear interpolation/extrapolation of XY data

Command Line Usage

1. interp1q ix:=Col(3) iy:=Col(2);

2. interp1q ix:=Col(3) iy:=(Col(1), Col(2)) ox:=Col(4);

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
X Values to Interpolate ix

Input

vector

<unassigned>

Specifies the X values to be interpolated on.

Input iy

Input

XYRange

<active>

The input XY range data to be interpolated

Result of Interpolation ox

Output

vector

<new>

Specifies the column to save output interpolated Y values

Description

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.

Examples

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.

Algorithm

Detail algorithms please read the help of interp1.

Related X-Functions

interp1, interp1xy, spline, bspline


Keywords:interpolate, extrapolate