Experimental (Semi-) Variogram
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Consolidator, parseargs: Simplifies input processing for functions with multiple options, IPDM: Inter-Point Distance Matrix
Inspired: variogramfit, Ordinary Kriging
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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,
|
||
1.0.0.0 | removed an error in the calculation of the number of bins |