- #1
Wminus
- 173
- 29
Mod note: Moved from technical math section, so no template was used.
Hey! So the complex Fourier transform of the square wave
$$
f(x) = \begin{cases}
2 & x \in [0,2] \\
-1 & x \in [2,3] \\
\end{cases}, \space \space f(x+3) = f(x)$$
is ##C_k = \frac{3j}{2 \pi k}( e^{-j \frac{4 \pi k}{3}} -1)##, correct? However, setting ##k = 0## and using L' Hopital rule I get that ##C_0 = 2##, while it should be equal to 1 since that's the average of the function.
Where is the error? My expression for ##C_k## is correct, right?
Hey! So the complex Fourier transform of the square wave
$$
f(x) = \begin{cases}
2 & x \in [0,2] \\
-1 & x \in [2,3] \\
\end{cases}, \space \space f(x+3) = f(x)$$
is ##C_k = \frac{3j}{2 \pi k}( e^{-j \frac{4 \pi k}{3}} -1)##, correct? However, setting ##k = 0## and using L' Hopital rule I get that ##C_0 = 2##, while it should be equal to 1 since that's the average of the function.
Where is the error? My expression for ##C_k## is correct, right?
Last edited: