
Contents |
Interpolation
Perform interpolation on the XYZ data
Minimum Origin Version Required:8.5 SR0
interpxyz iz:=Col(3) method:=linear npts:=50;
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| Input | iz |
Input XYZRange | |
The input XYZ data range to be interpolated. |
| Method | method |
Input Int | |
The method used to interpolate. Option list:
|
| Number of Points | npts |
Input int | |
Specifies the number of data points in the the interpolated data set. |
| Output | oz |
Output XYZRange | |
Specifies the destination of the interpolated data. See the syntax here. |
This X-Function performs interpolation on XYZ data. The interpolation methods include Linear, Cubic Spline, and Cubic B-spline.
In general, between two adjacent data points, the data points will be interpolated so that the number of data points in the final result data set will be equal to the Number of Points variable.
The detailed algorithm is described below:
Given a sequence of distinct triplets of data (
,
,
), where i = 0, 1, ... n-1:
For
,
For
,
For
,
where j=1,2,3...(npts-1), and npts is the value of Number of Points.