Coronavirus disease (COVID-19) is an infectious disease caused by a new virus.
The disease causes respiratory illness (like the flu) with symptoms such as a cough, fever, and in more severe cases, difficulty breathing. You can protect yourself by washing your hands frequently, avoiding touching your face, and avoiding close contact
Coronavirus disease spreads primarily through contact with an infected person when they cough or sneeze. It also spreads when a person touches a surface or object that has the virus on it, then touches their eyes, nose, or mouth.
Deepesh B (2021). COVID-19 Spred Model (https://www.mathworks.com/matlabcentral/fileexchange/74720-covid-19-spred-model), 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.
function d = FindDist(x,y,xc,yc)
for k = 1 :length(xc)
for m = 1 : length(x)
d(m,k) = sqrt((xc(k)-x(m))^2 + (yc(k)-y(m))^2);
end
end
end
Really very sorry dears.. Forgot to upload function
Hi,
to run the simulation, the function "FindDist" is missing.
Best regards