TriangleWave

TriangleWave[x]

gives a triangle wave that varies between and with unit period.

TriangleWave[{min,max},x]

gives a triangle wave that varies between min and max with unit period.

Details

Examples

open allclose all

Basic Examples  (2)

Generate a triangular wave:

In[1]:=
Click for copyable input
Out[1]=

TriangleWave is periodic with period 1:

In[1]:=
Click for copyable input
Out[1]=

Scope  (5)

Generalizations & Extensions  (1)

Applications  (2)

Properties & Relations  (2)

Possible Issues  (1)

See Also

SawtoothWave  SquareWave  Piecewise  Sin  UnitTriangle  HeavisideLambda

Introduced in 2008
(7.0)