MAKE A MEME View Large Image Sirsys-p9.png Colors are believed to be Blue Susceptible Green Infected and Red Recovered <br> An epidemiological graph for the SIR model S represents the number of susceptibles I the number of infectious people and R the number of ...
View Original:Sirsys-p9.png (560x420)
Download: Original    Medium    Small Thumb
Courtesy of:commons.wikimedia.org More Like This
Keywords: Sirsys-p9.png Colors are believed to be Blue Susceptible Green Infected and Red Recovered <br> An epidemiological graph for the SIR model S represents the number of susceptibles I the number of infectious people and R the number of recovered Graph generated using MATLAB code 2006-06-06 own assumed Bye~commonswiki sirsys m program <pre> beta 0 001;v 0 1; ; before modified beta 0 005,v 0 05, the figure produced by running this program in matlab is different with Fig Sirsys-p9 png so let beta 0 001 v 0 1 and try again then the resoult is right options odeset 'RelTol' 1e-4 'AbsTol' 1e-4 ; T Y ode45 sirsys1 0 60 500 1 0 options beta v ; plot T Y 1 ' ' T Y 2 ' ' T Y 3 ' ' </pre> sirsys1 m function <pre> function dy sirsys1 t y beta v dy zeros 3 1 ; dy 1 -beta y 1 y 2 ; force of infection lambda beta y 2 dy 2 beta y 1 y 2 -v y 2 ; dy 3 v y 2 ; </pre> Epidemics
Terms of Use   Search of the Day