Fourier decomposition of a square wave
- ️/u/giovanni.organtini
Any enough regular periodic function can be written as an infinite sum of sinusoidal functions, thanks to the Fourier's Theorem. In this app you can see five sinusoidal functions (in various colours) with appropriate amplitude and frequency that sum up to form a square wave (in dark green). A sum of up to 100 sinusoidal functions is shown in dark orange below.