Hello, I want to draw a 2D ghraph for R_{0} epidemic model.

2 visualizaciones (últimos 30 días)
Muhammad Said
Muhammad Said el 30 de Jun. de 2021
Respondida: Cris LaPierre el 30 de Jun. de 2021
I want to Draw six different values for Ro values like (0.5,1,1.5,2,2.5,3) in single 2D graph.
If someone help me I will be Thankful.
Thank You.
b1 =0.022;
bh =0.123;
d=0.145;
g =0.123;
pi =0.86;
u =0.0245;
ui =0.0234;
uh=0.453;
N =.5;
Ro = b1.*bh.*N./u.*(d+g+u+ui)*(pi+u+uh);

Respuestas (1)

Cris LaPierre
Cris LaPierre el 30 de Jun. de 2021
Ch 6 (array calculations) and ch 9 (plotting) of MATLAB Onramp will show you how to do this.
You might also find the examples and other information on the documentation page for the plot function insightful as well.

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by