Analysis: Mathematics: 2D Interpolate/Extrapolate
Perform interpolation/extrapolation on matrix data
1. minterp2 im:=MBook1;
2. minterp2 im:=MBook1 method:=bicubic;
3. minterp2 im:=MBook1 cols:=10 rows:=10;
4. minterp2 im:=MBook1 xmin:=1 xmax:=10 ymin:=1 ymax:=10;
5. minterp2 im:=[MBook1]MSheet1!Mat(1) om:=[MBook1]MSheet2!Mat(1);
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 |
---|---|---|---|---|
Input Matrix | im |
Input MatrixObject |
|
The matrix that contains the input data |
Method | method |
Input int |
|
Interpolation method.
|
Number of Cols | cols |
Input int |
|
The number of columns in the output matrix |
Number of Rows | rows |
Input int |
|
The number of rows in the output matrix
|
Missing Value Pretreatment | missing |
Input int |
|
Preprocess missing values in 2D interpolation. Option Lists:
|
First X | xmin |
Input double |
|
The minimum x value of the output matrix |
Last X | xmax |
Input double |
|
The maximum x value of the output matrix |
First Y | ymin |
Input double |
|
The minimum y value of the output matrix |
Last Y | ymax |
Input double |
|
The maximum y value of the output matrix |
Output Matrix | om |
Output MatrixObject |
|
The output matrix See the syntax here. |
Please refer to this page in the User Guide for more information:
Keywords:interpolate, extrapolate