Two point correlation function of a finite 2D lattice (Scripts) Publisher's description
from Ilya Valmianski
Computes the distance 2-point correlation function of a finite 2D lattice.
Computes the distance 2-point correlation function of a finite 2D lattice. The functions is:
[ coorfun r] = twopointcorr(x,y,width,height,dr)
Where x is the list of x coordinates of lattice points. y is the list of y coordinates of the lattice points, width is the width of the lattice, height is the total height of the lattice, and dr is the binning length for the correlation function. The outputs are coorfun and r. Coorfunis a vector of normalized correlation function values for distances recorded in the r vector.
This function has been vectorized to improve performance.
System Requirements:MATLAB 7.5 (R2007b)
Program Release Status: New Release
Program Install Support: Install and Uninstall