The cross-correlation function is used extensively in pattern recognition and signal detection. We know that projecting one signal onto another is a means of measuring how much of the second signal is present in the first. This can be used to ''detect'' the presence of known signals as components of more complicated signals. As a simple example, suppose we record which we think consists of a signal which we are looking for plus some additive measurement noise. Then the projection of onto is
since the projection of any specific signal onto random, zero-mean noise is close to zero. Another term for this process is called matched filtering. The impulse response of the ''matched filter'' for a signal is given by . By time reversing , we transform theconvolution implemented by filtering into a cross-correlation operation.