Sawtooth Wave PtByPt (Not in Base Package)

Generates a sawtooth wave point by point. Details

amplitude is the amplitude of sawtooth wave. The default is 1.0.
f is the frequency of sawtooth wave in Hz. The default is 1.
phase is the shift of the waveform, in degrees.
time is the independent variable.
sawtooth wave is the output sawtooth wave.

Sawtooth Wave PtByPt Details

sawtooth wave = amplitude × sawtooth(q)

where

and

q =(360 · f · time) + phase) mod (360), phase in degrees.