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

1 次查看(过去 30 天)
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);

回答(1 个)

Cris LaPierre
Cris LaPierre 2021-6-30
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.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by