Close
Close window
Kriging - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

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

>

withInterpolation:

Create some data that is spatially correlated :

>

points,dataKriging:-GenerateSpatialDataSpherical1,10,1

points,data0.8147236863931790.7060460880196090.9057919370756190.03183284637742070.1269868162935060.2769229849608900.9133758561390190.04617139063115390.6323592462254100.09713178123584750.09754040499940950.8234578283272930.2784982188670480.6948286229758170.5468815192049840.3170994800608610.9575068354342980.9502220488383550.9648885351992770.034446080502908830 × 2 Matrix,−1.313178883098403.78399452938772−4.079067475567432.810336570210773.071599080823360.128958765233152−3.217372722382440.7072451657106540.08778773037919770.93729662185663230 element Vector[column]

(1)

Create a Kriging object:

>

kKrigingpoints,data

kKrⅈgⅈng ⅈntⅇrpolatⅈon obȷⅇct wⅈth 30 samplⅇ poⅈntsVarⅈogram: Sphⅇrⅈcal(1.25259453854473,13.6487615617241,.5525536774)

(2)

Use the Kriging object to interpolate at a given point :

>

k0.2,0.3

−2.75173577049670470

(3)

Compatibility

The Interpolation:-Kriging command was introduced in Maple 2018.

For more information on Maple 2018 changes, see Updates in Maple 2018 .


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /