Modern oscilloscopes all have math capabilities; add, subtract, multiply, and etc. Fast Fourier transforms are very common in modern oscilloscopes. Shown in the example on this slide are two waveforms from a switching power supply. One is the inverse of the other and when an addition function is performed they cancel each other out, resulting in a flat line on the bottom trace.