In which format a differential equation is required to use dsolve() solver?
조회 수: 3 (최근 30일)
이전 댓글 표시
I want to solve two simultaneous second-degree differential equations. Which solver can I use for it? If I use dsolve, in which form should I input equations?
댓글 수: 0
답변 (1개)
Star Strider
2017년 5월 2일
The dsolve function is part of the Symbolic Math Toolbox, so you would enter your equations as symbolic functions and then use dsolve to solve them. See the documentation on dsolve for details.
You can also use the Symbolic Math Toolbox to set up (but not solve) nonlinear differential equations to use in ode45, ode15s, and others. You will find the odeToVectorField and matlabFunction functions invaluable.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!