solve IVP with ode45
이전 댓글 표시

So I am trying to generate an ODE45 graph with the file provided. I made the modification which I believe are correct but the graph generated at the output is not correct. The second function
function dYdt=f(x,Y)
has a modified version of my function and I am wondering if that is causing the ODE function not to generate the proper input. Would anyone be able to advise on a solution or where I am going wrong ?
Thank you
채택된 답변
추가 답변 (1개)
sawera
2025년 8월 6일
0 개 추천
find exact solution of IVPs, then compute using approximate solution at x=0:0.2.2:2 using ode45 command
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!