how can I plot the graph of nonlinear system of ODE

1 次查看(过去 30 天)
% system parameters
L = 15 %treatment duration length in hour
Omega = 50 % period
alpha1 = 0.1;
alpha2 = 0.45;
kappa1 = 0.65;
kappa2 = 1;
beta1 = 0.11;
beta2 = 0.15;
epsilon = 0.05;
gamma = 0.35;
% harvesting model of votka-volttra type system of equations
dx(1)=alpha1*x(1)-alpha1*x(1)^2./kappa1-beta1*x(1)*x(2)-epsilon*gamma*x(1);
dx(2)= alpha2*x(2)-alpha2*x(2)^2./kappa2-beta2*x(1)*x(2)-gamma*x(2);
tspan = [0 1000]; % time interval
x0 = [0.5, 0.8]; % initial condition
L and omega are not in the above system of nonlinear ODE. how can I write matlab code using ode45 including L and Omega?
  1 个评论
Nicolas B.
Nicolas B. 2019-9-5
Can you please use edit your question that we could follow your code? I don't understand what you try to achieve and it would be useful to have the working code.

请先登录,再进行评论。

回答(0 个)

类别

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

产品


版本

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by