Which function can be used?
Show older comments
I have a function dA/dt= k(2-2.374A)/2.12
can I use ode45 here?
Accepted Answer
More Answers (1)
Titus Edelhofer
on 5 Oct 2014
Edited: Titus Edelhofer
on 5 Oct 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
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!