fitVirusCOVID19

Estimation of coronavirus COVID-19 epidemic evaluation by the SIR model

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

milan batista (2026). fitVirusCOVID19 (https://www.mathworks.com/matlabcentral/fileexchange/74658-fitviruscovid19), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
5.2.1

Minor changes

Download
5.2.0

Add function fitVirusCV19R which treats the daily case as newly removed cases and not newly infected cases.

Download
5.1.0

Add 'tick' option to control x-axis ticks and 'data' option to display all data (see readMe.m for usage). Correct Daily New Cases shift to +1 day (thanks to Burak). Change analysisCV19: now the number of days is days back from the current date.

Download
5.0.3

Update description. Change recovered with removed.

Download
5.0.2

Minor corrections. Add statistics of daily new cases.

Download
5.0.1

Add parameters plot to analyseCV19. Add importTotalCasesR15 for those who only have MATLAB R2015a (thanks to Sherwood Samn)

Download
5.0.0

Correct NaN cases. Change plot range. Add calculation of epidemic end (5 cases left)

Download
4.3.6

Correct report

Download
4.3.5

Trim data for some countries (India, Indonesia, Argentina, Croatia)

Download
4.3.4

Trim data for some countries

Download
4.3.3

Minor corrections.

Download
4.3.2

Change image

Download
4.3.1

The update suggested by Yusuf Kursat Tuncel to display correct date and value. Add version fitVirusCOVID19cs which change graph x axis to datetime values (thanks to Christian Schiffer).

Download
4.2.1

Update description

Download
4.2.0

Add function impoertTotalCases that automating the download of the data
on the total COVID-19 cases from <ourworldindata.org> (thanks to Igor Podlubny )

Download
4.1.4

Update data. Add R0 > 1 (basic rep. number) and R <= R0 (rep. number) to title and analyze function.

Download
4.1.3

update of USA data in PLA folder ( by Patrick Anderson). Minor corrections.

Download
4.1.2

Minor corrections

Download
4.1.1

Correct fitVirusCV19 to support calcR0. Update data for Japan.

Download
4.1.0

Add an optional graph of growth rate. Update data (4.4.2020)

Download
4.0.9

Update description

Download
4.0.8

Minor corrections

Download
4.0.7

Update data. Change graph text: now its contains contact number, contact time and infectious time. Add function to calculate R0.

Download
4.0.6

Change image

Download
4.0.5

update regression algorithm. By default, the solution with min N is selected (optimistic approach). Add Iceland and Sweden. Update data (2.4.2020)

Download
4.0.4

Change image

Download
4.0.3

More minor changes

Download
4.0.2

Minor corrections

Download
4.0.1

Add the check data folder (thanks to Rolf Boelens). Add two utility programs in folder PLA (thanks to Patrick Anderson)

Download
4.0.0

Major revision. Add flambertw for those who have no SMTbx. Add importData function.

Download
3.0.6

Update description

Download
3.0.5

Update description

Download
3.0.4

Update description

Download
3.0.3

Update analyseCV19

Download
3.0.2

More minor corrections

Download
3.0.1

Minor corrections

Download
3.0.0

Add analyseCV19. Update data, add Czech Republic, Japan, Slovakia

Download
2.0.5

Change image with today predictions in Lombardia

Download
2.0.4

Improve initial data trim. Add data for Brazil, India, and Poland.

Download
2.0.3

Correct description

Download
2.0.2

Add address of data source

Download
2.0.1

Add data for Canada (thanks to Remy Boisse) , Indonesia (thanks to Maldiku Servinu) and Serbia. Upgrade description.

Download
1.0.14

Update description

Download
1.0.13

Update description

Download
1.0.12

Update data. Add Hungary and NY State

Download
1.0.11

Correct data

Download
1.0.10

Add new data

Download
1.0.9

Add data for NYState. Add the option for controlling the number of iterations.

Download
1.0.8

Add data for Denmark and Norway. Data are now automatically trimmed. Weights are now selected automatically. Minor corrections.

Download
1.0.7

Delete duplicate examples

Download
1.0.6

Minor corrections. Add data for Croatia and UK

Download
1.0.5

Correct graphs

Download
1.0.4

Minor corrections

Download
1.0.3

Correct description

Download
1.0.2

Improve print and initial guess function. Add data for Lombardia.

Download
1.0.1

edit description

Download
1.0.0

Download