File Exchange

image thumbnail

COVID19 Simulator.

version 2.0.2 (5.11 KB) by Cleve Moler
Simulate spread of COVID19


Updated 30 Mar 2020

View Version History

View License

Cite As

Cleve Moler (2021). COVID19 Simulator. (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (8)

Thadikamala Sathish

horderlin robles

Dear Professor, I get this error:

Error using -
Matrix dimensions must agree.

Error in covid19 (line 124)
d = triu(abs(z - z.'));

Could you help me


Alexander Litvinenko

E. Cheynet


Matthew Schroeder

@Tsotne Marghia

I suspect Cleve was utilizing a custom noticks function in his search path and didn't include it with this code. No fear. Simply replace the "noticks" line with the following. It will result in the same behavior that I presume Cleve was going for.


Tsotne Marghia

Hello, thank you for yor work. However, I think there is a bug as it gives me an error writing that
Undefined function or variable 'noticks'.

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!