Nonlinear Computer Codes
The information in this article applies to:
Finding the largest Lyapunov exponent.
The largest Lyapunov exponent is computed using Wolf’s algorithm.
Data Set up:
Data should be a single column file with all numbers, no titles or words.
The data filenames must be *.dat (i.e. s1c1t1.dat or standing.dat).
Click on Matlab on the desk top.
Once you have opened Matlab load the program called LyE_Wolf.m into Matlab. This can be done by selecting open under File and selecting the appropriate location.
In order to compute the largest Lyapunov exponent, need to specify certain parameters at the top of the program for any calculation
DT = 1/(sampling frequency)
n = number of time steps (n = 3 for 60 Hz is adequate for gait)
dim = embedding dimension
tau = time lag
Run the program by hitting F5.
The following window will pop up. Select the folder where your data is stored.
Matlab will compute the largest Lyapunov Exponent for all .dat files in the folder, return the value on the current command window (LyE), and save Excel file with results.
Our Campus. Otherwise Known as Omaha.
The University of Nebraska does not discriminate based on race, color, ethnicity, national origin, sex, pregnancy, sexual orientation, gender identity, religion, disability, age, genetic information, veteran status, marital status, and/or political affiliation in its programs, activities, or employment. Learn more about Equity, Access and Diversity.