This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [s lags ncp model]=semivariogram(pos,z,delta,varargin) | |
% Calculates an empirical spatial semivariogram | |
% | |
% SYNTAX: | |
% [s lags ncp]=semivariogram(pos,z,delta,varargin) | |
% | |
% INPUTS: | |
% Mandatory: | |
% - pos: (NxD) matrix containing the D dimensional position of the control points. | |
% - z: (Nx1) vector containing the observations at the control points. |