This repository contains the implementation of a Susceptible-Exposed-Infectious-Recovered (SEIR) epidemiological model in MATLAB. The SEIR model is used to simulate the spread of infectious diseases in a population over time.
The SEIR model divides the population into four compartments:
- Susceptible (S): Individuals who are at risk of contracting the disease.
- Exposed (E): Individuals who have been exposed to the disease but are not yet infectious.
- Infectious (I): Individuals who are infectious and can spread the disease.
- Recovered (R): Individuals who have recovered from the disease and are now immune.
This project allows you to simulate different scenarios by varying the parameters such as transmission rate ((\beta)) and recovery rate ((\gamma)).
- MATLAB (R2020b or later recommended)
- Basic knowledge of differential equations and epidemiological modeling
Clone the repository and navigate to the directory containing the code. The main script solves the SEIR model using MATLAB’s ode45
function and plots the results.
git clone [email protected]:XdstruCTor/Math-modeling.git
cd Math-modeling