2D Interpolate to Find z at Given (x,y)
(ORG-5160)
9.1 adds a new x function interp2 to interpolate a group of existing xyz data to find z value for given (x,y), by 8 alternative methods: Nearest, Random Kriging, Random Renka Cline, Random Shepard, Random TPS, Spline, Triangle and Weight Average.
Sample OPJ to download to try: 2D interpolate.opj
How to interpolate z from xy using interp2 x function:
- In script window, run interp2 -d; to open interpolation dialog;
- Pick data (x,y) from worksheet as XY Values To Interpolate, and a serial of xyz data as Input for interpolation;
- Select a Method from drop down menu;
- Assign destination columns as Results of Interpolation.