Waveforms.jl
This package implements waveform functions:
- Square waves
- Triangle waves
- Sawtooth waves
Square Waves
Waveforms.squarewave
— Functionsquarewave(x)
Compute $2\pi$-periodic square wave of x
with a peak amplitude $1$.
squarewave(x, θ)
Compute $2\pi$-periodic square wave of x
with a duty cycle θ
and a peak amplitude $1$.
Waveforms.squarewave1
— Functionsquarewave1(x)
Compute $1$-periodic square wave of x
with a peak amplitude $1$.
squarewave1(x, θ)
Compute $1$-periodic square wave of x
with a duty cycle θ
and a peak amplitude $1$.
Triangle Waves
Waveforms.trianglewave
— Functiontrianglewave(x)
Compute $2\pi$-periodic triangle wave of x
with a peak amplitude $1$.
Waveforms.trianglewave1
— Functiontrianglewave1(x)
Compute $1$-periodic triangle wave of x
with a peak amplitude $1$.
Sawtooth Waves
Waveforms.sawtoothwave
— Functionsawtoothwave(x)
Compute $2\pi$-periodic sawtooth wave of x
with a peak amplitude $1$.
Waveforms.sawtoothwave1
— Functionsawtoothwave1(x)
Compute $1$-periodic sawtooth wave of x
with a peak amplitude $1$.