Solving 1-D non linear differential equation
显示 更早的评论
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 个评论
John D'Errico
2018-6-25
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.
回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Boundary Conditions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
