Giter Site home page Giter Site logo

syncrodazt / strogatz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tfiers/strogatz

0.0 1.0 0.0 24.58 MB

Notebooks, code, and report for my uni course on non-linear dynamical systems

License: GNU General Public License v3.0

Python 0.06% MATLAB 0.80% M 0.01% TeX 1.21% Jupyter Notebook 97.92%

strogatz's Introduction

Strogatz

Notebooks, code, and report for my uni course on non-linear dynamical systems.

(Repository named after Steven Strogatz, the mathematician that wrote this great book, on which the course is based).

Check out the Report and the underlying Jupyter notebooks. Note that these might not make much sense without the Assignment and some background in nonlinear system analysis, as it was explicitly not the goal to explain theory or repeat the assignment in the report.

Or simply check out some figures below:

Phase space portraits of a predator-prey model, for different predator decay rates c. (Normalised prey amount on the x-axis, normalised predator amount on the y-axis. Some example (partial) trajectories are indicated in grey. Coloured dots represent fixed points. Basins and curves of attraction are coloured according to their attracting fixed point. The purple orbit is a limit cycle).






Linear stability analysis of one fixed point (coloured blue in the phase portraits above), for different values of c. For this analysis, we calculate the Jacobian of the system equations, and evaluate it at the fixed point. The eigenvalues of this matrix determine the local behaviour of the fixed point. For 2D systems, they are usefully summarised by the determinant (ฮ”) and the trace (ฯ„) of the Jacobian.






System behaviour for different values of a parameter (here: c) can be summarised in a so called bifurcation diagram. The bifurcation diagrams in the left hand column correspond to the phase portraits and stability diagram shown above (dashed lines are unstable fixed points, solid lines are stable fixed points. Branches are coloured according to their fixed point; same colours as in the first figure above). The bifurcation diagrams in the center and right columns depict systems with an imperfection parameter present (middle: d = 0.001, right: d = 0.01). In the left hand column (d = 0), 'transcritical bifurcations' are present. These are switches in stability when branches of different fixed points cross. The imperfection breaks up these bifurcations.






Simulations of a neuron model (the Hindmarsh-Rose model). In a certain region of parameter space, this model neuron is in "random burst generation" mode, and the system exhibits so called chaotic behaviour. This means that the system is extremely sensitive to initial conditions (y0 here).






Simulations of an electrical circuit with a nonlinear element (Chua's circuit). This system is also chaotic. Its phase space trajectories (of which some 2D projections are shown here) end up on a "double scroll". This is a so called strange attractor: an attracting fractal with dimension between 2 and 3.

strogatz's People

Contributors

tfiers avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.