Experimental (Semi-) Variogram

calculate the isotropic and anisotropic experimental (semi-) variogram
15.5K Downloads
Updated 9 Jan 2013

View License

variogram calculates the isotropic and anisotropic experimental variogram in various dimensions.

Syntax:
d = variogram(x,y)
d = variogram(x,y,'pn','pv',...)

The function uses parseargs (objectId=10670) by Malcolm wood as subfunction.

Currently, the function calculates all variogram values at one step. While this is fast for small data sets (n<2000), it may fail on large data sets owing to memory constraints. For large datasets you may thus want to use the 'subsample' option.

Cite As

Wolfgang Schwanghart (2024). Experimental (Semi-) Variogram (https://www.mathworks.com/matlabcentral/fileexchange/20355-experimental-semi-variogram), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Weather and Atmospheric Science in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.4.0.0

Bug removed that occurred when calculating the distances for more than two dimensions.

1.3.0.0

removed a bug in calculating the number of angular bins for anisotropic variograms.

1.2.0.0

Removed dependency from IPDM. Fortunately, it is even faster now on my machine. The relatively large memory overhead is still unresolved. Added subsampling option.

1.1.0.0

dependence on consolidator was removed,
anisotropic experimental variogram is now supported.

1.0.0.0

removed an error in the calculation of the number of bins