Displaying 1 result from an estimated 1 matches for "offsetplaquett".
Did you mean:
offsetplaquette
2010 Mar 24
3
help in matlab - r code
...MaxOffset = 99; # defined variable, =2R
ImageWidthToProcess = ImageWidth-MaxOffset; # =2R defined variable
for Offset = 1:MaxOffset ; loop to calculate the autocorrelation. basicly,
they do cor2, which I think is Spearman correlation, between every column
and store it in the vector position???
OffsetPlaquette = data(:,1+Offset:ImageWidthToProcess+Offset);
AutoCData(Offset) = corr2(data(:,1:ImageWidthToProcess),
OffsetPlaquette)
end
# IN R would be... but it is not correct! What would be the results in
matlab? and how to do it in R?
for(Offset in 1:MaxOffset){
OffsetPlaquette = x[,1+Offset:Imag...