This program computes Spatial Autocorrelation functions (SACRF) of a stochastic process in the plane z=g(x,y), where x,y are planar coordinates (e.g. longitude and latitude), given N data {Xi,Yi;Zi} points. The serial correlation is defined as Rk=Corr(Zi,Zi-k), where Zi-k is k-th nearest neighbor (NN) of the data Zi, according to the Euclidean distance Dik=sqrt((Xi-Xi-k)^2+(Yi-Yi-k)^2). The SACRF is also be computed with respect to the k-th North NN (to satify a principle of causal spatial ordering), and using the inverse distances 1/Dik as weights for the products Zi*Zi-k (IDW principle). Finally the SACRF is computed with respect to averages of the points Zi-k which fall in the k-th ring around Zi.
引用格式
Carlo Grillenzoni (2024). Spatial Autocorrelation Function of a Process in the Plane (https://www.mathworks.com/matlabcentral/fileexchange/113695-spatial-autocorrelation-function-of-a-process-in-the-plane), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2022a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!