The lyapunovExponent function in the Predictive Maintenance Toolbox gives incorrect result when the input signal has angular frequency a multiple of \pi
Afficher commentaires plus anciens
The lyapunovExponent function provided in the Predictive Maintenance toolbox (https://in.mathworks.com/help/predmaint/ref/lyapunovexponent.html) works very well but fails to provide the correct answer when the signal has an angular frequency of multiple of $\pi$. Given here are two signals with angular frequency $4\pi$ and $4\pi+0.01$. It works fine when the angular frequency is slightly off the multiple of $\pi$. The expected result is the LE as close to zero. But gives erroneous positive value when the angular frequency is a multiple of $\pi$. Is there a workaround about this?
dt=0.01;
t=0:0.01:49.99;
fs=1/dt;
x=sin(4*pi*t);
y=sin(((4*pi)+0.01)*t);
lag=13;
dim=2;
lyapunovExponent(x,fs,lag,dim,'ExpansionRange',800)
lyapunovExponent(y,fs,lag,dim,'ExpansionRange',800)
1 commentaire
Vishnu Ravindran
le 23 Fév 2023
If y=sin((2*pi-1e-10)*t) works similar to y given above, while x= sin((2*pi)*t) gives result similar to x above.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Manage System Data dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



