File:Sirsys-p9.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Sirsys-p9.png (560 × 420 pixels, file size: 7 KB, MIME type: image/png)
File information
Structured data
Captions
Summary[edit]
DescriptionSirsys-p9.png |
(Colors are believed to be: Blue=Susceptible, Green=Infected, and Red=Recovered) |
Date | 6 June 2006 (original upload date) |
Source | No machine-readable source provided. Own work assumed (based on copyright claims). |
Author | No machine-readable author provided. Bye~commonswiki assumed (based on copyright claims). |
sirsys.m program[edit]
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),'.')
sirsys1.m function[edit]
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);
Licensing[edit]
Public domainPublic domainfalsefalse |
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 14:38, 6 June 2006 | 560 × 420 (7 KB) | Bye~commonswiki (talk | contribs) | 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: ==== sirsys.m program==== <pre> beta=0.001; v=0.1; options = odeset (' |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on cs.wikipedia.org
- Usage on en.wikipedia.org
- Usage on en.wikiversity.org
- Usage on es.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on ja.wikipedia.org
- Usage on nl.wikipedia.org
- Usage on pt.wikipedia.org
- Usage on simple.wikipedia.org