Reference

Square Waves

Waveforms.squarewaveFunction
squarewave(x)

Compute $2\pi$-periodic square wave of x with a peak amplitude $1$.

source
squarewave(x, θ)

Compute $2\pi$-periodic square wave of x with a duty cycle θ and a peak amplitude $1$.

source
Waveforms.squarewave1Function
squarewave1(x)

Compute $1$-periodic square wave of x with a peak amplitude $1$.

source
squarewave1(x, θ)

Compute $1$-periodic square wave of x with a duty cycle θ and a peak amplitude $1$.

source

Triangle Waves

Sawtooth Waves