Numerical Scheme for Compartmental Models: New Matlab Software Codes for Numerical Simulation [version 2; peer review: 2 approved]
Background: This paper presents a newly developed Matlab code for the numeri- cal simulation of compartmental/deterministic models. It addresses modeling and simulation issues concerning compartmental models. The code is easy to under- stand and edit for the simulation of compartmental models. An al...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
F1000 Research Ltd
2023-09-01
|
Series: | F1000Research |
Subjects: | |
Online Access: | https://f1000research.com/articles/12-445/v2 |
_version_ | 1827792788692926464 |
---|---|
author | Samuel Akwasi Adarkwa Samuel Okyere Ebenezer Bonyah Joseph Ackora-Prah |
author_facet | Samuel Akwasi Adarkwa Samuel Okyere Ebenezer Bonyah Joseph Ackora-Prah |
author_sort | Samuel Akwasi Adarkwa |
collection | DOAJ |
description | Background: This paper presents a newly developed Matlab code for the numeri- cal simulation of compartmental/deterministic models. It addresses modeling and simulation issues concerning compartmental models. The code is easy to under- stand and edit for the simulation of compartmental models. An alternative codes for statistical software package R has been proposed for the same model. R software is freely available for use. Methods: We proposed a basic SEIR model for illustration purposes. Matlab and R software codes are developed for the SEIR model which users can follow and easily understand the computations. Results: The two codes work on all Matlab and R versions. For models with more compartments, we suggest using higher version of Matlab and R. Matlab works on windows, Mac and Linux Conclusions: New Matlab software codes purposely for numerical simulations of classical deterministic models which can run on any version of Matlab has been introduced in this paper. This code can be edited/modify to suit any deterministic models and any desired output required. An alternative open source free version has been written in R has been provided as well |
first_indexed | 2024-03-11T18:08:15Z |
format | Article |
id | doaj.art-63c5f77dcb074385841fa1dda6a0692d |
institution | Directory Open Access Journal |
issn | 2046-1402 |
language | English |
last_indexed | 2024-03-11T18:08:15Z |
publishDate | 2023-09-01 |
publisher | F1000 Research Ltd |
record_format | Article |
series | F1000Research |
spelling | doaj.art-63c5f77dcb074385841fa1dda6a0692d2023-10-17T00:00:03ZengF1000 Research LtdF1000Research2046-14022023-09-0112155959Numerical Scheme for Compartmental Models: New Matlab Software Codes for Numerical Simulation [version 2; peer review: 2 approved]Samuel Akwasi Adarkwa0https://orcid.org/0000-0002-1610-9225Samuel Okyere1https://orcid.org/0000-0001-6262-1628Ebenezer Bonyah2Joseph Ackora-Prah3https://orcid.org/0000-0001-9488-9610Department of Statistical Sciences, Kumasi Technical University, Kumasi, Ashanti Region, GhanaMathematics, Kwame Nkrumah University of Science and Technology, Kumasi, GhanaMathematics Education, Akenten Appiah-Menka University of Skills Training and Enterpreneurial Development,, Kumasi, GhanaMathematics, Kwame Nkrumah University of Science and Technology, Kumasi, GhanaBackground: This paper presents a newly developed Matlab code for the numeri- cal simulation of compartmental/deterministic models. It addresses modeling and simulation issues concerning compartmental models. The code is easy to under- stand and edit for the simulation of compartmental models. An alternative codes for statistical software package R has been proposed for the same model. R software is freely available for use. Methods: We proposed a basic SEIR model for illustration purposes. Matlab and R software codes are developed for the SEIR model which users can follow and easily understand the computations. Results: The two codes work on all Matlab and R versions. For models with more compartments, we suggest using higher version of Matlab and R. Matlab works on windows, Mac and Linux Conclusions: New Matlab software codes purposely for numerical simulations of classical deterministic models which can run on any version of Matlab has been introduced in this paper. This code can be edited/modify to suit any deterministic models and any desired output required. An alternative open source free version has been written in R has been provided as wellhttps://f1000research.com/articles/12-445/v2Compartmental Models Numerical Simulation Matlab software codes R software codeseng |
spellingShingle | Samuel Akwasi Adarkwa Samuel Okyere Ebenezer Bonyah Joseph Ackora-Prah Numerical Scheme for Compartmental Models: New Matlab Software Codes for Numerical Simulation [version 2; peer review: 2 approved] F1000Research Compartmental Models Numerical Simulation Matlab software codes R software codes eng |
title | Numerical Scheme for Compartmental Models: New Matlab Software Codes for Numerical Simulation [version 2; peer review: 2 approved] |
title_full | Numerical Scheme for Compartmental Models: New Matlab Software Codes for Numerical Simulation [version 2; peer review: 2 approved] |
title_fullStr | Numerical Scheme for Compartmental Models: New Matlab Software Codes for Numerical Simulation [version 2; peer review: 2 approved] |
title_full_unstemmed | Numerical Scheme for Compartmental Models: New Matlab Software Codes for Numerical Simulation [version 2; peer review: 2 approved] |
title_short | Numerical Scheme for Compartmental Models: New Matlab Software Codes for Numerical Simulation [version 2; peer review: 2 approved] |
title_sort | numerical scheme for compartmental models new matlab software codes for numerical simulation version 2 peer review 2 approved |
topic | Compartmental Models Numerical Simulation Matlab software codes R software codes eng |
url | https://f1000research.com/articles/12-445/v2 |
work_keys_str_mv | AT samuelakwasiadarkwa numericalschemeforcompartmentalmodelsnewmatlabsoftwarecodesfornumericalsimulationversion2peerreview2approved AT samuelokyere numericalschemeforcompartmentalmodelsnewmatlabsoftwarecodesfornumericalsimulationversion2peerreview2approved AT ebenezerbonyah numericalschemeforcompartmentalmodelsnewmatlabsoftwarecodesfornumericalsimulationversion2peerreview2approved AT josephackoraprah numericalschemeforcompartmentalmodelsnewmatlabsoftwarecodesfornumericalsimulationversion2peerreview2approved |