Which function can be used?
Mostrar comentarios más antiguos
I have a function dA/dt= k(2-2.374A)/2.12
can I use ode45 here?
Respuesta aceptada
Más respuestas (1)
Titus Edelhofer
el 5 de Oct. de 2014
Editada: Titus Edelhofer
el 5 de Oct. de 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
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!