5 ms·
> Why are [sine waves] better than, say, step functions (...) Sine and cosine waves whose frequencies are multiples of a fundamental frequency, form an orthono
by catnaroek 10y ago
> Why are [sine waves] better than, say, step functions (...)
Sine and cosine waves whose frequencies are multiples of a fundamental frequency, form an orthonormal basis w.r.t. the inner product given by integrating f(x)ĝ(x)dx over one period of the sine (or cosine) wave whose frequency is the fundamental frequency. In practical signal processing, this means that we can separately consider the contribution of each frequency to the total energy of a signal. Technically, the above only explains Fourier series, but the Fourier transform is just the limit case when the fundamental frequency is made arbitrarily small (re-scaled by a factor of the size of Dirac's delta at 0, of course).
- alok-g 10y agoWon't the same apply to square waves also, i.e., they can also form an orthonormal basis?
- sdenton4 10y agoTotally of the cuff: I believe you can recast the Sims in the discrete Fourier transform as integrals of step functions. So it should work. However the width of the steps in the discrete dirtier transform is fixed for each n. So you'll need to be a bit clever to make sure your steps line up right of you want to build up a single infinite basis. And I would be a bit afraid that the need for things to line up would end up losing some needed span... So at least the are done things which need to be checked. The sin and cos basis is very convenient. Even more convenient is the e^(i.n.t) basis...
- _-__--- 10y agoThey can[0]; however, this requires some further construction. One major benefit of the sin/cos basis is that each basis function maps uniquely to a dirac delta in frequency space. This allows for power/energy symmetries between time and frequency domain representations of a signal and allows for more tenable frequency filtering, e.g. removing 60/50Hz noise or isolating a particular frequency band. A haar wavelet or modified square wave basis may provide you with a simple orthonormal signal basis, but each wavelet has a frequency representation with infinite support in frequency space. This is (a) untenable and (b) eliminates the possibility of frequency-specific filtering. Wavelet analysis is more useful in specific cases. [0] https://en.wikipedia.org/wiki/Haar_wavelet https://en.wikipedia.org/wiki/Haar_wavelet
- alok-g 10y agoWhen you use the term "frequency space", you are already thinking in terms of the frequency of sin/cos functions. If you actually think in terms of frequency in a different orthonormal basis, you'll find that the dirac delta characteristic you mention is not specific to sin/cos, thereby invalidating your argument.
- hchenji 10y agoYes. See Haar Basis on page 4 of http://www.fourierandwavelets.org/FSP_v1.1_2014.pdf http://www.fourierandwavelets.org/FSP_v1.1_2014.pdf
- tomrod 10y agoAs someone with a strong linalg background, I love this explanation! Thank you!
- joshuamorton 10y ago>Sine and cosine waves whose frequencies are multiples of a fundamental frequency, form an orthonormal basis w.r.t. the inner product given by integrating f(x)ĝ(x)dx over one period of the sine This, by the way, was perhaps the most mindblowing thing I learned in my advanced linear algebra course. I had already learned about applied Fourier Transforms and the FFT, but seeing the same tools we had used to prove things about Cartesian bases could be applied to something so unexpected, with such powerful results, was incredible.
- blt 10y agoThe "magic" of the Fourier transform and DFT is entirely contained in this proof, IMO. I think a lot of people find the Fourier transform extra-amazing because it is their first encounter with basis change and infinite dimensional vector spaces. The FFT is still magic though :)
- mturmon 10y agoAbout "why sine waves," the mantra I learned is: "Complex exponentials are the eigenfunctions of linear systems." This means that, if you put a complex exponential in, you get the same complex exponential out, scaled by some constant, whose magnitude we call the "frequency response". No other functional form has this property. They are eigenfunctions, so they are orthogonal. We can represent any function in L2 using a weighted sum of them.
- blt 10y agoBy L2 you mean the set of square-integrable functions, right?
- michalskop 10y agoShould be, see https://en.wikipedia.org/wiki/Lp_space https://en.wikipedia.org/wiki/Lp_space
- mturmon 10y agoYes, and by "represent", I mean represent with respect to the L2 norm.