Which function can be used?
3 views (last 30 days)
Show older comments
I have a function dA/dt= k(2-2.374A)/2.12
can I use ode45 here?
0 Comments
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
0 Comments
See Also
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!