File Exchange

image thumbnail

Embedding Dimension Estimate with Confidence Limits

version 1.0.0 (5.76 MB) by Thomas Carroll
Estimate embedding dimension for a signal from a chaotic or non-chaotic system. This algorithm gives a confidence in the final result.


Updated 06 Dec 2018

View License

MATLAB function for estimating embedding dimension
based on T. L. Carroll and J. M. Byers, Chaos 27, 023101 (2017)

dimension function is
[probability_matrix] = embedding_prob_func(data_vector, delay_vector, dimension_vector,eigenvalue_table, surrogate)

Test script is dimension_function_test.m

Table of eigenvalues for a random matrix is eigenvalue_table.mat

Test signal from the Rossler system is rossler_train_signal.mat
ross_sig_train is 3 columns corresponding to rossler x,y and z variables
Choose one of the columns.

In the sample program, I use the first 5000 points from the x variable
I look at embedding dimensions of 2,3,4 and 5 and delays of 1 to 20

The output is a probability matrix. For each dimension and delay, the probability matrix indicates the probability that the Rossler system can be embedded in that many dimensions with that delay.

The variable surrogate is set to 0 or 1. If surrogate=1, then a surrogate for the data_vector is created by phase randomizing the signal. The probabilities from the surrogate are subtracted from the probabilities for the regular signal. The surrogate is used to make sure that that the data signal isn’t a filtered noise signal. If you know for sure that the data isn’t filtered noise, surrogate can be set to 0.

Cite As

Thomas Carroll (2019). Embedding Dimension Estimate with Confidence Limits (, MATLAB Central File Exchange. Retrieved .

Carroll, T. L., and J. M. Byers. “Dimension from Covariance Matrices.” Chaos: An Interdisciplinary Journal of Nonlinear Science, vol. 27, no. 2, {AIP} Publishing, Feb. 2017, p. 023101, doi:10.1063/1.4975063.

View more styles

Comments and Ratings (0)

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

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor