is an even function, , so convolution is equivalent to correlation.
convolution
cross-correlation
|
1.Express each function in terms of a dummy variable . 2.Reflect one of the functions: → 3.Add a time-offset, t, which allows to slide along the -axis. 4.Start t at −∞ and slide it all the way to +∞. Wherever the two functions intersect, find the integral of their product. In other words, compute a sliding, weighted-sum of function , where the weighting function is
|
|
In this example, the red-colored “pulse”, ,is an even function , so convolution is equivalent to correlation. A snapshot of this “movie” shows functions and (in blue) for some value of parameter , which is arbitrarily defined as the distance from the axis to the center of the red pulse. The amount of yellow is the area of the product , computed by the convolution/correlation integral. The movie is created by continuously changing and recomputing the integral. The result (shown in black) is a function of , but is plotted on the same axis as , for convenience and comparison. |
|
In this depiction, could represent the response of an RC circuit to a narrow pulse that occurs at . In other words, if , the result of convolution is just . But when is the wider pulse (in red), the response is a “smeared” version of . It begins at , because we defined as the distance from the axis to the center of the wide pulse (instead of the leading edge). |
Convolution https://en.wikipedia.org/wiki/Convolution
Cross-correlation https://en.wikipedia.org/wiki/Cross-correlation