Which function can be used?
이전 댓글 표시
I have a function dA/dt= k(2-2.374A)/2.12
can I use ode45 here?
채택된 답변
추가 답변 (1개)
Titus Edelhofer
2014년 10월 5일
편집: Titus Edelhofer
2014년 10월 5일
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
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!