Last active
May 10, 2021 22:23
-
-
Save Wasabules/8441251ab13854c7854e9e26a2d1f5b3 to your computer and use it in GitHub Desktop.
fourier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from math import * | |
FFT = a0 + somme(an*cos(nwt)+bn*sin(nwt)) | |
paire: bn=0 | |
impaire: an=0 a0=0 | |
An=2/T integrale(f(t)*cos(nwt)dt) | |
Bn=2/T integrale(f(t)*sin(nwt)dt) | |
paire: | |
An=4/T integrale(f(t)*cos(nwt)dt) | |
[t1 ; t1+T/2] | |
impaire: | |
Bn=4/T integrale(f(t)*sin(nwt)dt) | |
[t1 ; t1+T/2] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment