COVID-19模拟器

内容

模拟器

帮助covid19
流行的模拟。灵感来自哈里·史蒂文斯于2020年3月14日拍摄的《华盛顿邮报》图片。https://www.washingtonpost.com/graphics/2020/world/corona-simulator/?itid=sf_这是四种类型的人。*移动。易受感染,移动中。蓝色(或绿色)圆圈,O. *静态。易感者,待在家里。较小的深蓝色圆圈,o. *感染。在“半径”范围内感染其他易感个体。红橙色星号,*。 * Immune. Was infected for "duration" steps. No longer infectious. Darker red x. These are the seven controllable parameters, with their starting values. n = 50; population size infected = .10; initial infected fraction static = .20; static fraction radius = .03; infectious distance duration = 200; time of infection speed = .03; speed of propagation barrier = .80; barrier height The epidemic starts in the upper right quadrant. The epidemic ends when all infected individuals have become immune. Folders named covid19 Desktop\covid19

动画

第一帧

动画一开始是右上象限的5个感染。有45人未受影响。

最后一帧

当不再有感染时,动画结束。有三人从未被感染。

完整的屏障

最终框架与完整的屏障。左半部分没有感染

没有障碍

一个人永远不会被感染。

更多的人口

每个人最终都会被感染,而且时间更短。

较小的人口

减少感染。

软件

该代码是Cleve_Lab 5.0版本在MATLAB中央文件交换上的实验之一,可以在这里

代码本身就在文件交换中,可以在这里




由MATLAB®R2019b发布

|
  • 打印
  • 发送电子邮件

评论

如欲留言,请点击在这里登录您的MathWorks帐户或创建一个新帐户。

Baidu
map