How can I solve a partial derivative equation if it does not contain a time derivative in MATLAB?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Adrian Oblena
am 23 Apr. 2020
Kommentiert: J. Alex Lee
am 24 Apr. 2020
MATLAB pdepe function requires a time derivative to solve the equation. What should I do if it does not contain a time derivative?
0 Kommentare
Akzeptierte Antwort
J. Alex Lee
am 24 Apr. 2020
Bearbeitet: J. Alex Lee
am 24 Apr. 2020
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 Kommentare
J. Alex Lee
am 24 Apr. 2020
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Partial Differential Equation Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!