Simulitis (A Coronavirus Simulation)

버전 1.1.2 (6.22 KB) 작성자: Joshua Gafford
MATLAB code to replicate Washington Post's Coronavirus simulation
다운로드 수: 1.1K
업데이트 날짜: 2020/4/11

라이선스 보기

I'm sure by now you've all seen the Washington Post article with the COVID-19 simulation, speaking to the public health benefits of social isolation in the face of a highly infectious disease. If you haven't, here's the article: https://www.washingtonpost.com/graphics/2020/world/corona-simulator/

Well, out of my quarantine boredom, I recreated this simulation in MATLAB, with more knobs to turn and parameters to play around with. For example, what if some of the carriers can die? What if the disease is Ebola instead (~50% mortality rate)?

This function simulates disease transmission among a set of n carriers, in a confined space, with some proportion of carriers socially isolating themselves. A simple multibody physics model (elastic collision between two equal-mass particles) determines carrier trajectory.

Hopefully this gives you a fun (albeit brief) respite from the doldrums of social isolation!

인용 양식

Joshua Gafford (2024). Simulitis (A Coronavirus Simulation) (https://www.mathworks.com/matlabcentral/fileexchange/74610-simulitis-a-coronavirus-simulation), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2018b
R2018b 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Biological and Health Sciences에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.2

Fixed an issue with initial conditions and wall behavior

1.1.1

Fixed an issue where the quarantine walls would stop opening

1.1.0

Added horizontal wall for four-quadrant quarantine simulation

1.0.9

Fixed a typo

1.0.8

Added ability to stop quarantine gate from fully opening.

1.0.7

Removed unnecessary refreshdata calls to speed up execution.

1.0.6

Modified simulation so only carriers behind quarantine wall can be initially infected.

1.0.5

Corrected input parsing for quarantine gate functionality

1.0.4

Added quarantine functionality.

1.0.3

Updated Tags

1.0.2

Fixed an issue with vector size inconsistencies and improved parameter checking

1.0.1

Removed commented-out code

1.0.0