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.
引用格式
Wolfgang Schwanghart (2024). variogramfit (https://www.mathworks.com/matlabcentral/fileexchange/25948-variogramfit), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Sciences > Geoscience > Weather and Atmospheric Science >
- Engineering > Civil and Environmental Engineering > Environmental Engineering >
标签
致谢
参考作品: fminsearchbnd, fminsearchcon, Experimental (Semi-) Variogram, parseargs: Simplifies input processing for functions with multiple options
启发作品: 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!版本 | 已发布 | 发行说明 | |
---|---|---|---|
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 |