CROSSCORR computes the cross-correlation of two equal length series Y and Z which may both come from the same file or from different files. Primitive arrays are also accepted.
If the series are not of equal length then the longer is truncated.