squircle_ode, a MATLAB code which sets up and solves a system of ordinary differential equations (ODE) for a pair of functions that generalize the sine and cosine, and whose phase portrait is a squircle, a sort of squared circle.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


squircle_ode is available in a MATLAB version and an Octave version and a Python version.

Related Data and codes:


matlab_ode, MATLAB codes which set up various ordinary differential equations (ODE).


Source Code:

Last revised on 21 December 2020.