How to solve a Partial Differential Ecuation?
4 views (last 30 days)
Show older comments
José Luis Lavado Sánchez
on 10 Feb 2019
I am a very new person using matlab, I want to know how to solve a PDE such as using matlab software. In addition, it will be very usefull if you can also told me how to solve it as a part of a Cauchy's problem with an initial condition or with some boundary conditions.
Thank you.
0 Comments
Accepted Answer
Torsten
on 12 Feb 2019
Edited: Torsten
on 12 Feb 2019
The code at the end of the link solves a single equation.
MATLAB does not have the ability to symbolically solve PDEs. If you write down the ODEs for your problem that come from the method of characteristics, you might succeed using MATLAB's "dsolve".
The equations are
du/ds = u
dx/ds = x+x^2
dt/ds = 1
with u = u(x(s),t(s))
You will have to define your boundary conditions to get a unique solution.
Best wishes
Torsten.
0 Comments
More Answers (1)
See Also
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!