- #1
back2square1
- 13
- 0
for a square wave function,
f(x)= { -1, -∞ ≤ x ≤ 0; +1, 0 ≤ x ≤ ∞
Expanding it in Fourier series gives a function like,
f(x) = (4/π) * Ʃn=0∞( (sin ((2n+1)x) / (2n+) )
Plotting a graph of the equation gives something like this, http://goo.gl/vFJhL
which obviously doesn't look like a square wave. Can anyone tell me where have I gone wrong? What am I missing?
P.S
Fourier co-efficients
an=0
a0=0
f(x)= { -1, -∞ ≤ x ≤ 0; +1, 0 ≤ x ≤ ∞
Expanding it in Fourier series gives a function like,
f(x) = (4/π) * Ʃn=0∞( (sin ((2n+1)x) / (2n+) )
Plotting a graph of the equation gives something like this, http://goo.gl/vFJhL
which obviously doesn't look like a square wave. Can anyone tell me where have I gone wrong? What am I missing?
P.S
Fourier co-efficients
an=0
a0=0