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?

採用された回答

J. Alex Lee
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 件のコメント
Adrian Oblena
Adrian Oblena 2020 年 4 月 24 日
Thank you. Can you suggest a possible function applicable for a simple 1D Laplace Equation?
(partial derivative of U)^2 / (partial derivative of X)^2 = 0
J. Alex Lee
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 ExchangePartial Differential Equation Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by