Chaos test

A test for chaotic dynamics of a noisy time series based on the Lyapunov exponent.
Updated 25 Jan 2018

View License

This test performs the test for chaotic dynamics of a noisy time series based on the Lyapunov exponent. The input is a vector of observed time series which can be stochastic or chaotic, usually time series has noise, so this code tests the positivity of the Lyapunov exponent based on a neural net approximation of the hidden chaotic map. This test computes the Lyapunov exponent using the Jacobian method without any need to specify an ODE or a suspected map giving only a vector of observation.
For a detailed information see my paper:

Cite As

Ahmed BenSaïda (2024). Chaos test (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Matrix Computations in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Minor updates.
Minor improvement.

Improve data handling to avoid eigenvalues of infinity.
Updated description.

Update error reporting.

Now the test is in a single m-file.

Minor bug fix.

Remove the need to garch or economic toolbox.

Change the links.

Minor improvements.

Change the default activation function to hyperbolic tangent, since the logistic function is not suited for Noisy time series. Moreover, make the code compatible with the latest version of MATLAB.

Added some detailed information in file description.