フィルターのクリア

Ode option

4 ビュー (過去 30 日間)
Mitch Martelli
Mitch Martelli 2011 年 11 月 17 日
Hi at all,
I would like to ask you if there is a way,using standard matlab ode function, to stop the calculation before the final time; more precisely when a specific condition is satisfied.
It is possible do it without rewrite for example the ode45?
Thanks
Mitch

採用された回答

Jan
Jan 2011 年 11 月 17 日
You can call ODE45 with an event function. See the docs for ODE45, e.g. http://www.mathworks.com/help/techdoc/ref/ode45.html and look for "event".
  1 件のコメント
Mitch Martelli
Mitch Martelli 2011 年 11 月 25 日
sorry for the delay... thanks jan...it work good...i resolve my problem..

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

その他の回答 (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