Where can I get a samaritan to help me with my code of a Reaction–Diffusion Delayed Neural Networks

2 ビュー (過去 30 日間)
Lanfeng Hua
Lanfeng Hua 2020 年 1 月 11 日
コメント済み: Josh Meyer 2020 年 1 月 31 日
I want to solve the delay PDE as follows, but I can't complete the code, I can't even find a suitable tool to deal with it.
As far as I know, "ddesd " can only solve ODE with time delay, while "pdepe" can only solve PDE without time delay. Can anyone help me to complete the code, or tell me the right solution ideas and suitable solution tools,appreciate it.

回答 (1 件)

Josh Meyer
Josh Meyer 2020 年 1 月 30 日
You should be able to use pdepe. Just calculate tau in the pdefun function and pass the delayed time value when you call the subfunction z to calculate that term. pdefun has inputs for x, t, u, and dudx, so tau will be recalculated using the current value of t each time pdepe invokes pdefun.
  2 件のコメント
Josh Meyer
Josh Meyer 2020 年 1 月 31 日
On closer look I agree. I missed that z(x,t) is the function being solved for. If the time delay was only in a call to g(x,t), or some other subfunction, then it could be hacked together.



Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by