One-dimensional correlation
Example
X =
Y =
The length of the first sequence:
The length of the second sequence: