This function returns a map of correlation coefficients between a reference signal and grid cells of a 3D spatiotemporal dataset. It also determines temporal lags of best fits between the reference signal and the time series of each grid cell. For examples and explanation, check out the documentation file (light bulb icon on this page).
Chad Greene (2020). xcorr3 (https://www.mathworks.com/matlabcentral/fileexchange/61468-xcorr3), MATLAB Central File Exchange. Retrieved .