Signal Processing in Amateur Radio Astronomy
The signal processing operation that measures how "alike" two signals are is called cross-correlation.  For cross-correlation to work both signals must be sampled at the same rate.  If they aren't, you must resample one of them to the rate of the other.