⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kriging3.m

📁 二维网格点的克里金插值
💻 M
字号:
function [lambda,errorvariance] = kriging3(position,anisotropy,nu,range)% kriging is a algoritm for interpolation based on minimation of the% variances. it is based on a model for the covariances. 'lags' is a vector containing the% distances between the related values and the point to interpolate. kriging3 calculates% the factors for the related values. the interpolated value is the sum of the related values% each multiplied with lambda. % kriging3 is for use with an anisotropy factor%% usage: [lambda,errorvariance] = kriging3(position,anisotropy,nu,range)% Rolf Sidler 5.6.03% calculating the kriging factors[C] = buildbigc3(position,anisotropy,nu,range);[c] = buildsmallc3(position,anisotropy,nu,range);% comment out next line to use simple kriging[C,c] = ordinary(C,c);[lambda] = C\c';errorvariance = covcalc(0,nu,range)-sum(lambda.*c');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -