WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Recovering the Fourier Coefficients

unweighted sine wave × slider weight
1 Hz
2 Hz
3 Hz
4 Hz
5 Hz
cross
ticks
show output × unweighted sine wave
1 Hz
(Output × 1 Hz) =
1.
2 Hz
(Output × 2 Hz) =
0
3 Hz
(Output × 3 Hz) =
1.
4 Hz
(Output × 4 Hz) =
0
5 Hz
(Output × 5 Hz) =
0
show unweighted sine wave over output
This Demonstration illustrates recovering the Fourier coefficients from a complex wave that you build. With the sliders you can select the weights of five sine wave signals, 1 to 5 Hz. These are summed into a complex signal in the upper graph. You can then selectively choose to multiply the entire output wave by any of the original unweighted signals. When selected, the resultant product waveforms are displayed in the lower graph. When these resultant waveforms are individually integrated or summed, the value of the integral is the original weight applied to the signal (after potentially dealing with scaling issues).
Recovering the Fourier coefficients is fairly straightforward but can consume a large number of calculations. However, symmetries in these calculations can be exploited to drastically cut down the number of calculations, resulting in the fast Fourier transform (FFT).
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.