How to use more that one initial conditions In ODE45

tfinal=10; for k=1:10 x0=[1+k; 0.2+k] % 11 initial condtions
[t,x]=ode45('lorenzeq',[0,tfinal],x0);
end
% Final initial condition only work other or not work. How to design the loop.
% please send the answer

回答 (1 件)

Mischa Kim
Mischa Kim 2014 年 5 月 6 日

0 投票

Velmurugan, see this answer for reference.

カテゴリ

タグ

質問済み:

2014 年 5 月 6 日

回答済み:

2014 年 5 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by