I have script phase portrait but i got an errors

1 次查看(过去 30 天)
can't plot a phase portrait
  1 个评论
Jan
Jan 2023-3-10
编辑:Jan 2023-3-10
Please mention, what the errors are by posting a copy of the complete message. It is easier to fix a problem than to guess, what the problem is.
Providing parameters as extra input arguments to ODE45 is outdated for 20 years now. Use an anonymous function instead:
[t1,y1] = ode45(@(t,x) @bidangfase(t, x, Pg, Ps, pe, beta1, beta2,a1, a2, a4, a5, c1,c2,c4,c5,v,u,d10,d11,d12,d20,d21,d22,d50,d51,d52,d4,tau,mu, beta3, Phi, psi, delta, gamma, Pr), ...
t0:0.1:tf, X0, options);

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by