i have a decomposition of a square wave signal:
$ y = \frac{4h}{\pi}(\sin(x) + \frac{1}{3}\sin(3x) + \frac{1}{5}\sin(5x) + ...) $
I computed the fundamental wave and 2 harmonic waves:
$ U_{r0} = 27.5e^{j90.8} $ $ U_{r1} = 35e^{j63} $ $ U_{r2} = 38 $
Till here, it is correct. Now i have to show the time function of this square wave and my solution is this one:
$U_r(t) = 27\sin(628t+86.497) + 35\sin(628\cdot 3t+56) + 38.2\sin(628\cdot 5t)$
But when i plot with Wolfram Alpha it does not look like a square wave. Just too less harmonics or did i do something wrong?