A square wave function, also called a pulse wave, is a periodic waveform consisting of instantaneous transitions between two levels . We consider two cases of square waves that include the digital signal (0,1) and oscillation between (-1,1). Other common levels for the square wave includes -½ and ½.