sawtooth_ode, an Octave code which sets up and solves an ordinary differential equation (ODE) driven by a right hand side which is a sawtooth function (periodic, discontinuous, piecewise linear).
The information on this web page is distributed under the MIT license.
sawtooth_ode is available in a MATLAB version and an Octave version and a Python version.
octave_ode, an Octave code which sets up various ordinary differential equations (ODE).