Giter VIP home page Giter VIP logo

Comments (3)

JoniRousu avatar JoniRousu commented on September 16, 2024

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).
But it would be nice to indicate that.

from fourier.

Jezzamonn avatar Jezzamonn commented on September 16, 2024

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:
The first is because to make it visually simpler, as well as keep the page running smoothly, it doesn't draw sine waves that are very small (and 0 is as small as you can get).
I guess the second thing is I might also be filtering out the constant term anyway because it's kind of different to represent it. If you see a line by itself it's hard to tell how far away that line is from zero without having a line at zero. Same with the circles, I don't draw the constant term there, I just zero it out (also to keep the image balanced in the middle).

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

from fourier.

JoniRousu avatar JoniRousu commented on September 16, 2024

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.

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 take a look at the Wikipedia page, you will find a schematic representation of a dirac function.

from fourier.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.