 Interpolation - Maple Programming Help

Interpolation

 Kriging
 an overview of Kriging objects

Description

 • Kriging is a method for unstructured spatial interpolation. It is based upon a variogram function which models the variance between two data points as a function of their distance. Typically, this is an increasing function, since points closer together are likely to have more similar values (less variance). Based on the variogram and the distances from the evaluation point to all input points, a weight for each input value is computed, and these weights are used to compute a weighted average which is the predicted value.  The variograms supported by Maple, such as the Spherical and Exponential variograms, are detailed in the SetVariogram help page.
 • The following help pages describe the Kriging object and its methods further:

Examples

 > $\mathrm{with}\left(\mathrm{Interpolation}\right):$

Create some data that is spatially correlated:

 > $\mathrm{points},\mathrm{data}≔\mathrm{Kriging}\left[\mathrm{GenerateSpatialData}\right]\left(\mathrm{Spherical}\left(1,10,1\right)\right)$
  (1)

Create a Kriging object:

 > $k≔\mathrm{Kriging}\left(\mathrm{points},\mathrm{data}\right)$
 ${k}{≔}\left(\begin{array}{c}{Kriging intⅇrpolation obȷⅇct with 30 samplⅇ points}\\ {Variogram: Sphⅇrical\left(1.25259453854485,13.6487615617233,.5525536774\right)}\end{array}\right)$ (2)

Use the Kriging object to interpolate at a given point:

 > $k\left(0.2,0.3\right)$
 ${-2.75173577049668650}$ (3)

Compatibility

 • The Interpolation[Kriging] command was introduced in Maple 2018.