variogramfit
variogramfit performs a least squares fit of various theoretical variograms to an experimental, isotropic variogram. The user can choose between various bounded (e.g. spherical) and unbounded (e.g. exponential) models. A nugget variance can be modelled as well, but higher nested models are not supported.
The function works best with the function fminsearchbnd available on the FEX. You should download it from the File Exchange (File ID: #8277). If you don't have fminsearchbnd, variogramfit uses fminsearch. The problem with fminsearch is, that it might return negative variances or ranges.
Supported bounded models:
'blinear' -- bounded linear
'circular' -- circular model
'spherical' -- spherical model, =default
'pentaspherical' -- pentaspherical model
Supported unbounded functions :
'exponential' -- exponential model
'gaussian' -- gaussian variogram
'whittle' -- Whittle's elementary correlation (involves a modified Bessel function of the second kind).
'stable' -- stable models sensu Wackernagel 1995). Same as gaussian, but with different exponents. Supply the exponent alpha (<2) as an additional pn,pv-pair 'stablealpha',alpha (default = 1.5).
'matern' -- Matern model. Requires an additional pn,pv pair. 'nu',nu (shape parameter > 0, default = 1). Note that for particular values of nu the matern model reduces to other authorized variogram models. (nu = 0.5 : exponential model, nu = 1 : Whittles model, nu -> inf : Gaussian model)
References:
Wackernagel, H. (1995): Multivariate Geostatistics, Springer.
Webster, R., Oliver, M. (2001): Geostatistics for Environmental Scientists. Wiley & Sons.
Minsasny, B., McBratney, A. B. (2005): The Matérn function as general model for soil variograms. Geoderma, 3-4, 192-207.
Cita come
Wolfgang Schwanghart (2024). variogramfit (https://www.mathworks.com/matlabcentral/fileexchange/25948-variogramfit), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Sciences > Geoscience > Weather and Atmospheric Science >
- Engineering > Civil and Environmental Engineering > Environmental Engineering >
Tag
Riconoscimenti
Ispirato da: fminsearchbnd, fminsearchcon, Experimental (Semi-) Variogram, parseargs: Simplifies input processing for functions with multiple options
Ispirato: Ordinary Kriging, Kriging and Inverse Distance Interpolation using GSTAT
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.5.0.0 | forth output argument now contains the anonymous function of the variogram model. This is needed for kriging (to come). |
||
1.4.0.0 | removed a bug concerning weight functions. So far the weight function (either Cressie85 or McBratney86) was not invoked when called. |
||
1.2.0.0 | Seems I forgot to include the m file in the previous update. Here it is. |
||
1.1.0.0 | The matern model was added as theoretical variogram. |
||
1.0.0.0 |