Help with two 1st order diff eq
이전 댓글 표시
Hi all,
I need help solving two first order differential equations.
dphi=(akd).*((exp(-(phi)))-(exp(psi)));
dpsi=(epp)-(exp(psi))-((ba).*(dphi));
epp ba and akd are defined. Phi and Psi are my variables, where dphi is the derivative with respect to t and dpsi is the derivative with respect to t. I tried perusing the help files but cannot get it to work. We were advised to use ode15s.
I tried making the equations into a vector field to put into the function but also struggled with this. Sidenote; dphi can be substituted in the dpsi equation.
Thanks.
댓글 수: 3
James Tursa
2018년 10월 5일
Please post what you have tried so far and then we can give suggestions and comments on how to fix your code etc.
James Bader
2018년 10월 5일
James Bader
2018년 10월 5일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!