ploting between infected pepole and reproduction number

i want to plot between
dx(3,:) = sigma * x(2) - (gamma+d+m)* x(3);
R0 = (sigma*beta*A)*(d*(1-u)+alfa)/d*(d+alfa)*(d+sigma)*(d+m+gamma);
dx is infected class .
i want to plot between infected people and reproduction number

 Akzeptierte Antwort

KALYAN ACHARJYA
KALYAN ACHARJYA am 15 Feb. 2022
Bearbeitet: KALYAN ACHARJYA am 15 Feb. 2022
plot(dx,R0);

4 Kommentare

i want to plotting between
this my trail work
I = (d+sigma)*(R0-1) / eta*(d+alfa)*(d+sigma)+beta*(d+alfa+sigma);
R0 = 0:5;
A=100;d=0.1;eta=0.9;gamma=0.025;alfa=0.4;sigma=0.8;m=2;u=0.5;beta = 0.01;I=0;
plot (R0,I,'r')
my result is in figure1 but i want to point out like this image
can you help me or please guid me
R0 = 0:0.5:5;
A=100;
d=0.1;
eta=0.9;
gamma=0.025;
alfa=0.4;
sigma=1.3;
m=2;
u=0.5;
beta=0.01;
logic_data=R0>=1;
I = logic_data.*((d+sigma)*(R0-1) / eta*(d+alfa)*(d+sigma)+beta*(d+alfa+sigma));
plot (R0,I,'r')
ylim([-1 5]);
grid on;
#Please change parameters the typical values accordingly (Sigma).
thank you so much .it's help alot to me in work .i accept your answer and it is very useful for me. thank you much sir
I'm glad it helped you, keep learning

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by