Triangle Wave PtByPt (Not in Base Package)

Generates a triangle wave point by point. Details

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

Triangle Wave PtByPt Details

triangle wave = amplitude × triangle (q)

where

and

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