Which function can be used?
Ältere Kommentare anzeigen
I have a function dA/dt= k(2-2.374A)/2.12
can I use ode45 here?
Akzeptierte Antwort
Weitere Antworten (1)
Titus Edelhofer
am 5 Okt. 2014
Bearbeitet: Titus Edelhofer
am 5 Okt. 2014
Hi Dinesh,
yes you can. Implement the right hand side of your equation as a function of the form
function dA = f(t,A)
and pass that to ode45.
Titus
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!