Modeling Disease Spread Using an SEIR Model

This is a simple SEIR (Susceptible-Exposed-Infectious-Recovered) model of disease spread, implemented in MATLAB®.
646 Downloads
Updated 7 Feb 2022

Modeling Disease Spread Using an SEIR Model

Open in MATLAB Online

This is a simple SEIR model of disease spread, implemented in MATLAB®. This approach is widely used to analyze infection data during the different stages of an epidemic outbreak. The population is divided into Susceptible (S), Exposed (E), Infectious (I), and Recovered (R) individuals.

This Live Script provides a basic SEIR model overview and an example of how you might get some graphical results using MATLAB.

The model equations in the Live Script that make up the SEIR model are based on this article.

plot

Product Requirement : MATLAB (Tested with R2021b)

This Live Script was created for the 2022 M3 Challenge Live Chat.

Copyright 2022 The MathWorks, Inc.

Cite As

MathWorks Student Competitions Team (2024). Modeling Disease Spread Using an SEIR Model (https://github.com/mathworks/modeling-disease-spread-using-an-SEIR-model/releases/tag/21.2.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with R2021b and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
21.2.1

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.