TriangleWave:

Path: Math/MathUtils

% Generates a triangle wave. 0 is the beginning and 2*pi is the end.
--------------------------------------------------------------------------
   Form:
   y = TriangleWave( x )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x          (:)       Input

   -------
   Outputs
   -------
   y                    y = TriangleWave( x )

--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D

Back to the Math Module page