Which function can be used?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a function dA/dt= k(2-2.374A)/2.12
can I use ode45 here?
0 commentaires
Réponse acceptée
Plus de réponses (1)
Titus Edelhofer
le 5 Oct 2014
Modifié(e) : Titus Edelhofer
le 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 commentaires
Voir également
Catégories
En savoir plus sur Ordinary Differential Equations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!