doughnut_ode, a MATLAB code which sets up and solves a system of ordinary differential equations (ODE) whose trajectories lie on a torus or doughnut, and for which an exact solution is known.
The information on this web page is distributed under the MIT license.
doughnut_ode is available in a MATLAB version and an Octave version.
doughnut_exact, a MATLAB code which evaluates an exact solution of the doughnut ODE.
matlab_ode, a MATLAB code which sets up various ordinary differential equations (ODE).