Azzera filtri
Azzera filtri

how can I plot the graph of nonlinear system of ODE

1 visualizzazione (ultimi 30 giorni)
% 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 Commento
Nicolas B.
Nicolas B. il 5 Set 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.

Accedi per commentare.

Risposte (0)

Prodotti


Release

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by