fclosest_nn2.m
来自「空间统计工具箱」· M 代码 · 共 21 行
M
21 行
function [nnlist]=fclosest_nn2(xcoord, ycoord)
%
%[nnlist]=fclosest_nn2(xcoord, ycoord)
%
%Finds the closest neighbor to each observation
%
%INPUT:
%
%The two n by 1 vectors xcoord, ycoord which represent locational
%coordinates.
%
%OUTPUT:
%
%The n by 1 vector nnlist containing indices to the nearest neighbor
%
%NOTES:
%
%Closest neighbor dependence was studied in:
%
%Pace, R. Kelley, and Dongya Zou,
%揅losed-Form Maximum Likelihood Estimates of Nearest Neighbor Spatial Dependence,
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?