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.
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 Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!