contig.m

来自「计量工具箱」· M 代码 · 共 15 行

M
15
字号
function W=contig(x,y,distance)% PURPOSE : This function computes a contiguity matrix based on a distance threshold%---------------------------------------------------------------------------% USAGE : W=contig(x,y,distance)%    where : x : (n x 1) vector of the latitudes%            y : (n x 1) vector of the longitudes%            distance : threshold distance  %----------------------------------------------------------------------------- % OUTPUTS :  W : contiguity matrix(n x n) %-----------------------------------------------------------------------------   % used in morancontiplot.m%------------------------------------------------------------------------% Christine Thomas-Agnan, Anne Ruiz-Gazen, Julien Moutel% June 2003% Universit

⌨️ 快捷键说明

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