Convert XYZ data to matrix using NAG Renka-Cline gridding
1. xyz_renka_nag iz:=Col(3);
2. xyz_renka_nag iz:=Col(3) rows:=10 cols:=10;
3. xyz_renka_nag iz:=Col(3) om:=[MBook]MSheet!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 | iz |
Input XYZRange |
|
Specifies the input XYZ range. |
Rows | rows |
Input int |
|
Rows in the output matrix. |
Columns | cols |
Input int |
|
Columns in the output matrix. |
Output Matrix | om |
Output MatrixObject |
|
The output matrix. See the syntax here. |
This function calls NAG library to perform gridding by Renka-Cline method. The method is based on the algorithm that Renka and Cline developed in 1984. It includes three main steps:
1. Triangulation:
2. Gradient Estimation:
3. Interpolation:
For the 200~1000 data points and uniformly distributed case, Renka-Cline method could be a best choice.
1. Import XYZ Random Gaussian.dat on the \Samples\Matrix Conversion and Gridding folder.
2. Type xyz_renka_nag 3
in the command window. Or type xyz_renka_nag -d
to bring up the dialog.
Please refer to the NAG help document (e01sac, e01sbc, e01szc) for more information.
[1]. Robert J. Renka, Interpolation of Data on the Surface of a Sphere, 1984, ACM Transactions on Mathematical Software.
[2]. Robert J. Renka, A Triangle-based C1 Interpolation Method, Rocky Mountain J. Math. Vol. 14, 1984, pp. 223-237.
xyz_regular, xyz_renka, xyz_shep, xyz_shep_nag, xyz_sparse, xyz_tps
Keywords:worksheet