File Exchange

image thumbnail

Mackey-Glass time series generator

version (151 KB) by Marco Cococcioni
This function generates a Mackey-Glass time series using the 4-th order Runge-Kutta method.


Updated 09 Jun 2009

View License

This is a tutorial on Mackey-Glass time series generation.
Once published, it generates an html tutorial on Mackey-Glass time series generation for educational purposes.

Cite As

Marco Cococcioni (2020). Mackey-Glass time series generator (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Leonardo Dalla Porta

Why it does not work for small values of delay?

This is not really an error but - In the main algorithm, shouldn't T(i) be updated immediately after X(i) is updated? That way x0 would correspond to x(0) and not x(0.1) = x(deltat).

Shujaat Khan

Zhennan Huang

Victor Zhu

It seems that the time series is not correct when the parameters are fixed as follows:
a=1.2,b=1,tau=60,deltat=0.01,sampe_n = 200000;

Fengyu Xie


MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux