Tspan is not strictly increasing.
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Asir Tushar
am 24 Nov. 2019
Kommentiert: Asir Tushar
am 29 Nov. 2019
I am trying to solve a second order ode using ODE45 but my tspan is not strictly increasing. How can I solve it ?
0 Kommentare
Akzeptierte Antwort
Stephan
am 27 Nov. 2019
Since ode45 uses an automated stepwide control just define the start and the end of your tspan this way:
tspan = [0 10];
This is all you have to do to solve this problem.
3 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!