How can I solve a partial derivative equation if it does not contain a time derivative in MATLAB?
조회 수: 2 (최근 30일)
이전 댓글 표시
MATLAB pdepe function requires a time derivative to solve the equation. What should I do if it does not contain a time derivative?
댓글 수: 0
채택된 답변
J. Alex Lee
2020년 4월 24일
편집: J. Alex Lee
2020년 4월 24일
If you mean by "no time variable" that your equation is elliptic in more than 1 independent variable, then unfortunately you'll either have to get the PDE toolbox or write your own solver.
댓글 수: 2
J. Alex Lee
2020년 4월 24일
Depends on if you have BCs only at one side (Initial Value Problem) or at both sides (Boundary Value Problem). If IVP, you can use the ode45 (the ode suite, just do doc ode45). If a BVP, you can use bvp4c or bvp5c.
추가 답변 (0개)
참고 항목
카테고리
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!