Can I add arguments to the odefun in ode45 integration?

6 ビュー (過去 30 日間)
Vishesh Vatsal
Vishesh Vatsal 2013 年 9 月 4 日
コメント済み: Martin 2013 年 10 月 30 日
I am running a loop. During each iteration, I perform integration from a fixed initial state. To fulfill my objective, I need to change my state function(odefun) before the next iteration begins. In order to do that, I would need the following arguments to get my new state function for the next iteration: 1. a vector which is an output from the previous integration. 2. a number which comes from the previous integration.
How do I go about it?
  1 件のコメント
Martin
Martin 2013 年 10 月 30 日
I'd like to know also!

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by