Scilab Function
Last update : 5/9/2006

sirs - the susceptible-infected-rescued-susceptible (SIRS) model

Calling Sequence

inf = sirs(a,b,N,T,N0,Ti,Tr,P)

Parameters

Description

sirs calculates the infected fraction every time step for the SIRS epidemic process. Note when the TR is large enough, SIRS is the SIR epidemic process.

Examples

	  [a b]=ba(6,4,9994);
	  inf=sirs(a,b,10000,1000,1000,5,3,1);
	  t=[1:1000];
	  plot2d(t,inf(t));   
  

See Also

sis ,  

Authors

Wubo