August 2022: plot modified to overcome the problems with plot function in the last matlab variants
***********************************
**slight changes**
The program, FO_Lyapunov_q, can be used either alone, to determined the LEs of a FO system for a fixed fractional order q (see e.g. LE_RF.m which contains the extended system), or can be used to obtain the variation of LEs as function of q, case when the code run_FO_LE_q must be used [1].
- To obtain the LEs for a given q, for, e.g., RF system, one uses
LE=FO_Lyapunov_q(ne,ext_fcn,t_start,h_norm,t_end,x_start,h,q);
For example, for the RF system [1]
LE=FO_Lyapunov_q(3,@LE_RF,0,0.02,200,[0.1;0.1;0.1],0.02,0.998)
2. If one intends to obtain the evolution of LEs as function of q one uses
run_FO_LE_q(ne,ext_fcn,t_start,h_norm,t_end,x_start,h,q_min,q_max,n)
E.g., for the same system RF
run_FO_LE_q(3,@LE_RF,0,0.02,150,[0.1;0.1;0.1],0.02,0.9,1,800)
Note that FO_Lyapunov_q.m, LE_RF.m, run_FO_LE_q and FDE12.m (necessary to integrate the system) must be in the same folder.
As mentioned in [1], the relation between h_norm and h is essential. Here both are chosen equal (0.02), but multiple of h for h_norm should be tried
[1] Marius-F. Danca and N. Kuznetsov, Matlab code for Lyapunov exponents of fractional order systems, International Journal of Bifurcation and Chaos, 28(05)(2018), 1850067
引用格式
Marius-F. Danca (2024). FO_Lyapunov_q (https://www.mathworks.com/matlabcentral/fileexchange/114605-fo_lyapunov_q), MATLAB Central File Exchange. 检索来源 .
Marius-F. Danca and N. Kuznetsov, Matlab code for Lyapunov exponents of fractional order systems, International Journal of Bifurcation and Chaos, 28(05)(2018), 1850067
MATLAB 版本兼容性
创建方式
R2022a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!