1 function [g6B,bin] = binData(
g6C,binMax,bins)
2 %Bin the
data returned from g6_struct into equi-separated partitions
3 %
g6C: Matrix containing the g6 values output from g6_struct
4 % binMax: The maximum binning value
5 % bins: The number of bins to take
7 % g6B: The binned g6 data
8 % bin: The bin values of g6B
10 bin = linspace(0,binMax,bins);
13 idx = find(
g6C(1,:) >= bin(
kk) & g6C(1,:) < bin(
kk+1) );
__global__ void zeros(double *field, int n)
Creates a field of all zeros ,.
% Indexing needs to % be modified if you wish to use the ordered data sets % Calculate the Voronoi diagram of the resulting data
if length(idx) >0 g6B(kk)