1function [SCVj,acfCoeff]=kpcfit_sub_eval_iat2(SCV,G2,acfLag)
2% function [SCVj,acfCoeff]=kpcfit_sub_eval_iat2(SCV,G2,acfLag)
5% SCV = a vector of squared coefficient of variation
for each
7% G2 = a vector of gamma2
for each composing
map
9% = a vector of autocorrelations lags
12% SCVj= the
final squared coefficient of variation of J composing
15% = a vector of autocorrelation coefficients of J composing maps
20acfCoeff=0.5.*(1-1/SCV(1)).*G2(1).^acfLag;
23 SCVj=(1+SCVj)*(1+SCV(j))/2-1;
25 X=SCV(j)*r0j*G2(j).^acfLag;
26 acfCoeff=(X+SCVj_1.*acfCoeff.*(1+X))./SCVj;