i am not getting chaotic plot because of warning

3 visualizzazioni (ultimi 30 giorni)
function dx = compactchua(t,x)
dx=zeros(4,1);
dx(1) = -(1/(8200*47*1e-9))*x(2);
dx(2) = (((x(3)-x(2))/2000) -(x(4).^3*4.7e3+1e3))/6.8e-9;
dx(3) = ((x(2)-x(3))/2000 - x(4))/68e-9;
dx(4) = (x(3))/(22*10^-9);
end
[t,x] = ode15s(@compactchua,[0 5e-7],[0 12.24e-3 12.24e-3 1.7]);
plot(x(:,2),x(:,3));
error
Warning: Failure at t=6.943264e-08. Unable to meet integration tolerances without reducing the step size below
the smallest value allowed (2.117582e-22) at time t.
>>

Risposte (1)

Benjamin Thompson
Benjamin Thompson il 14 Feb 2022
Chaotic systems have behavior that is not well described using continuous and differentiable functions right? So a solver that attempts to reduce step size until it finds continuous and predictable differentiation results is probably not going to work there. Have you tried one of the other solvers to see if results are better?

Categorie

Scopri di più su Programming in Help Center e File Exchange

Tag

Prodotti


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by