One ode, two differential equations
조회 수: 2 (최근 30일)
이전 댓글 표시
I have 2 differential equation that i want to solve in the same ode. I only have the initial value of the first equation and the answer of it will be the initial value of the second differential equation.
Is it possible and how ?
댓글 수: 6
답변 (1개)
Ioannis Andreou
2020년 2월 1일
As far as I can tell from your code, the righthanded side of your differential equations is the same. Meaning you have the system
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/269374/image.png)
. Thus you can simply only solve y1, the solution of y2 is then y2(t) = y1(t-t1).
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!