Solve ODE for variable domain
古いコメントを表示
Hi all
is it possible to solve the same ODE system for 3 adiacent different domain? Do i need something like that?
if x>x1&&x<=x2
.
.
.
elseif x>=x2&&x<x3
.
.
.
elseif x>x3
.
.
.
end
how continuity will be preserved?
Thank you for the help
Regards
5 件のコメント
Alan Stevens
2020 年 9 月 3 日
What stops you solving it from x1 all the way past x3 in one go?
EldaEbrithil
2020 年 9 月 3 日
Alan Stevens
2020 年 9 月 3 日
Doesn't that just mean you have something like area as a function of x? If you define it as a separate function, you could call it from within your ode section.
EldaEbrithil
2020 年 9 月 3 日
EldaEbrithil
2020 年 9 月 3 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!