ODE45 solver, with changing initial conditions
古いコメントを表示
I'm trying to numerically find the transition curves for a ODE, my code is supposed to do this by finding the solution to the ode, determining at which point the solution "blows up" and then storing the values for v and epsilon (epp) within an array.
However when running my code I keep on getting the following errors:
Unrecognized function or variable 'ODEvcnt'.
Error in ode2>@(t,y)dtheta(t,y,ODEvcnt,ODEeppcnt) (line 33)
sol = ode45(@(t,y) dtheta(t,y,ODEvcnt,ODEeppcnt),tspan,y0);
Error in odearguments (line 90)
f0 = feval(ode,t0,y0,args{:}); % ODE15I sets args{1} to yp0.
Error in ode45 (line 115)
odearguments(FcnHandlesUsed, solver_name, ode, tspan, y0, options, varargin);
Error in ode2 (line 33)
sol = ode45(@(t,y) dtheta(t,y,ODEvcnt,ODEeppcnt),tspan,y0);
I have attatched my code bellow:
Any help or advise would be much appreciated, thank you.
4 件のコメント
Ameer Hamza
2020 年 6 月 13 日
Can you show the equations of your ODE in mathematical form?
Louis De Jager
2020 年 6 月 13 日
Ameer Hamza
2020 年 6 月 13 日
Where is phi and psi in this equation? What does this graph represent? The ODE is between tau and theta, so how do you get this graph between phi and epsilon.
Louis De Jager
2020 年 6 月 13 日
編集済み: Louis De Jager
2020 年 6 月 13 日
採用された回答
その他の回答 (1 件)
强 陈
2024 年 4 月 7 日
0 投票
Hello,I am also learning Arnold's tongue recently, can I study your ODEvcnt code?
カテゴリ
ヘルプ センター および File Exchange で Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
