TriangleWave:

Path: Math/MathUtils

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

   ------
   Inputs
   ------
   x	(1,:)	Input

   -------
   Outputs
   -------
   y (1,:) Triangle wave

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

Children:

Common: Graphics/Plot2D

Back to the Math Module page