Call Solution as History in DDE23

4 ビュー (過去 30 日間)
Gary
Gary 2013 年 4 月 15 日
コメント済み: Sylvia 2015 年 7 月 20 日
Hi there,
I'm trying to solve a system of delayed differential equations using dde23. I want to use the solution from a previous integraton as history of the next integration, but I can only get this to work using sol.y(end):
sol2 = dde23(@Function, [1 2], sol.y(end), [Tstart, Tend]);
which is a single point rather than a function so that the solver is assuming constant history, which is not the case.
Is there a way to call the solution function in as the history rather than just the last point of the previous integration?
Thank you.
Gary
  1 件のコメント
Sylvia
Sylvia 2015 年 7 月 20 日
I think, but am not sure, that if you specify 'sol' as opposed to 'sol.y(end)' as the history, you will be using the sol function not just its last point. At least when I do this in my dde23 calls, they run successfully and give reasonable values. - Sylvia

サインインしてコメントする。

回答 (1 件)

Chin Wan Elijah
Chin Wan Elijah 2014 年 8 月 26 日
編集済み: Chin Wan Elijah 2014 年 8 月 26 日
I am still trying to get a grip of 'dde23' but I have read some article[Radford University] which says you may use '[S,Sp] = ddeval(sol2,t)' to use the solution found previously, but I have no idea how to use it for what you are asking, hope this help. link to articles: http://www.radford.edu/~thompson/webddes/

カテゴリ

Help Center および File ExchangeData Import and Network Parameters についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by