Solving 1-D non linear differential equation
Show older comments
Hello,
Is there a way to solve a non-linear differential equation : div(grad(u))=f(u) , which in 1-D gives d2u/dx2=f(u), with a function existing on matlab?
It seems that most functions are designed for 2-D problems. For instance, pdenonlin might be suitable, but to adapt the function to 1-D problem looks rather heavy for a beginner like me.
Many thanks in advance, Raphaël
1 Comment
John D'Errico
on 25 Jun 2018
In fact, MOST functions are NOT designed for 2-d problems. There are a huge variety of 1-d solvers you can find, depending on the problem. Start reading about basics like ODE45, ODE15s, dsolve, bvp4c, etc. If you have a specific problem, you need to be more specific. Otherwise, you need to do some reading.
Answers (1)
Raphael Poulain
on 28 Jun 2018
Categories
Find more on Boundary Conditions 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!