Approximation of a square wave

I was reading Fast Fourier Transforms explained and I wanted to play along…

This code uses sine waves to approximate a square wave. The first is to the 11th harmonic, the second to the 9,999th…

Leave a Reply