-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fourier decomposition doesn't work with a constant function #18
Comments
From my academic background (electrical engineering student) I can say that a fourier transformation of a constant doesn't exist in the real world. The result would be a so called dirac delta function (https://en.m.wikipedia.org/wiki/Dirac_delta_function). |
I guess it depends on what context you're talking about, but in some contexts you definitely can do a fourier transform of a constant! One of the terms will be the constant term, essentially with a frequency of zero. This is more due to the implementation though, but there's maybe two reasons why you can't see it on the page: But there's not really a good reason not to show it, particularly for that case. I'll see if I can get some time to adjust it |
I was talking about time constant functions. As I said, a fourier transform is possible. The solution is a dirac function with the value of the constant as "weight". The problem is that the width is infinitely small and thus the only frequency is 0. That's what I meant with "doesn't exist in the real world". |
If you draw a perfectly constant function the decomposition doesn't work:
The text was updated successfully, but these errors were encountered: