Can this differential equation be solved using matlab pdepe solver?
4 次查看(过去 30 天)
显示 更早的评论
I'm looking to solve the PDE given below:
d2y/dx2 - y + f(x,t) = dy/dt
here - f(x,t) is a source term depending on location "x" and time "t"
Initial Condition: y(x,0) = 0
Boundary condition: y(x=0, t) = 0
y(x=L, t) = -dy/dx (robin boundary condition or mixed boundary condition at x = L; this is for convection)
Can this be solved using matlab's pdepe solver? If so, how? If not, what toolbox/command is needed to solve this type of PDE?
0 个评论
回答(1 个)
Amit Bhowmick
2021-7-1
Look at this
https://in.mathworks.com/help/matlab/math/partial-differential-equations.html
2 个评论
Amit Bhowmick
2021-7-1
编辑:Amit Bhowmick
2021-7-1
With y term you can solve, s would be s=-y+f(x,t), not sure about robin boundary conditions.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PDE Solvers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!