how can I plot the graph of nonlinear system of ODE
2 views (last 30 days)
Show older comments
% 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 Comment
Nicolas B.
on 5 Sep 2019
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.
Answers (0)
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!