Synthesize a pulse signal with harmonic oscillators

Created with the Wolfram Language