solving ODE by ode45 with singularity
7 次查看(过去 30 天)
显示 更早的评论
Good morning,


Enclosed are the codes.
best regards
4 个评论
Jan
2018-11-9
ODE45 is a numerical integration. Then do not define the variables as symbolic by sym. What does this mean: "I haven't found the expected solution"? What do you find and what do you expect.
Torsten
2018-11-9
Commented from Babacar:
Hi Jan, I get some NAN. You can run the code to see what happened. I want to found the solution T of the ODE (T depends on t and x: T(t,x)), t \in [O,1] and x \in [-R,R]. best regards
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!