Code covered by the BSD License  

Highlights from
Ordinary Kriging

3.5

3.5 | 2 ratings Rate this file 87 Downloads (last 30 days) File Size: 3.4 KB File ID: #29025
image thumbnail

Ordinary Kriging

by Wolfgang Schwanghart

 

14 Oct 2010

2D-interpolation using geostatistics

| Watch this File

File Information
Description

This function completes what I have started with the functions variogram and variogramfit. It is not intended to be a highly optimized code for performing kriging but may have educational value. Note that for using kriging, you should download the latest version of variogramfit.

kriging uses ordinary kriging to interpolate a variable z measured at locations with the coordinates x and y at unsampled locations xi, yi. The function requires the variable vstruct that contains all necessary information on the variogram. vstruct is the forth output argument of the function variogramfit.

This is a rudimentary, but easy to use function to perform an ordinary kriging interpolation. I call it rudimentary since it always includes ALL observations to estimate values at unsampled locations. This may not be necessary when sample locations are not within the autocorrelation range but would require something like a k nearest neighbor search algorithm or something similar. Thus, the algorithms works best for relatively small numbers of observations (100-500). For larger numbers of observations I recommend the use of GSTAT.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Experimental (Semi-) Variogram, variogramfit

MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
21 Apr 2011 Mohammad Javad Tourian  
11 Sep 2011 Yadong  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
geostatistics Wolfgang Schwanghart 14 Oct 2010 11:31:10
variogram Wolfgang Schwanghart 14 Oct 2010 11:31:10
kriging yuli zhang 14 Mar 2011 02:14:55
geostatistics elchoirs choirs 06 May 2011 01:33:16
kriging Klem Cewadgault 04 Oct 2011 19:11:16
geostatistics Ben Williams 18 Oct 2011 05:34:00
kriging Ben Williams 18 Oct 2011 05:34:04
variogram Ben Williams 18 Oct 2011 05:34:05
kriging Elisey 01 Feb 2012 00:27:17

Contact us at files@mathworks.com