Epidemic simulation inspired by Washingtonhttps://blogs.mathworks.com/cleve/2020/03/29/second-version-of-a-covid-19-simulator/
Cleve Moler (2021).COVID19 Simulator.(//www.tatmou.com/matlabcentral/fileexchange/74601-covid19-simulator), MATLAB Central File Exchange. Retrieved.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
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
@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.
set(gca,'XTick',[])
set(gca,'YTick',[])
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'.