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帐户或创建一个新帐户。