How to determine relative distance between 3 in-phase transmitters by analysis of received signal
Check this out, it does calculate the similarities of 2 or more signals
http://www.mathworks.com/help/signal/examples/measuring-signal-similarities.html