Specify some points and some data manually.
We can visualize these points and data values as follows.
Create a Kriging object.
This uses an estimate to set the variogram used. This is often useful if we do not have a model for the variogram, but if we do, we can set the variogram manually.
If we evaluate at one of the input points, we get the corresponding value back.
The value at other points is interpolated.
We can visualize the interpolated surface as follows; or we can include the data points, too.
We can also find out what the modeled variance is at various points.
We can also display this variance, or use the variance to color the visualization of the interpolated surface.
Maple also contains functionality for generating data that is spatially correlated according to a given variogram.
Create a Kriging object:
Use the Kriging object to interpolate at a given point: