How to solve a system of differential equations using ODE45 with a different end conditions?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a system of differential equations which can be written down as-
![system_of_eqns](https://www.mathworks.com/matlabcentral/answers/uploaded_files/370177/image.png)
The associated initial conditions are- at
,
. The exact span of x is not given, instead it is asked to stop iterating once
. Since I don't know exactly where the end-point is reached, I cannot predict any end-point in terms of x.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/370180/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/370183/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/370186/image.png)
I intend to solve this differential equation using ODE45 method. Now ODE45 requires a precise x_span to solve which is not known to me right now. How can I solve this process. Also, since this is looking very similar to a boundary value problem, can it be approached using bvp solvers?
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!