When two signals tend to point in the same direction, we say that they are correlated. Signals show a positive correlation if they tend to increase and decrease together. Signals show a negative correlation if one tends to increase when the other decreases, and vice-versa. Signals are decorrelated if there is no discernible relationship between them. Below is an example of two positively correlated signals. The energy produced by a wind turbine is positively correlated with the average wind speed in the region. As the wind speed increases, the turbine produces more energy. As the wind speed decreases, the turbine will produce less energy.
Figure 1. Example of Signals with Positive Correlation
Blue: Wind Speed Red: Electrical Output of Turbine |
|
The dot product allows us to measure the amount of correlation between two signals. In the previous section we saw how the dot product allows us to measure the degree to which two 2-D vectors are pointing in the same direction, but it can be hard to mentally extrapolate this concept of directionality to signals with many values (more than two dimensions). Let’s return to sine waves, as they are easier to reason about mathematically, and provide us with a clear visualization of the dot product as applied to signals.