Skip to content
Snippets Groups Projects
Commit c6c47fec authored by Rivnyák Tímea's avatar Rivnyák Tímea
Browse files

Add titles

parent 7d5be0d7
Branches
No related tags found
No related merge requests found
%% System initalization
% Number of population
% Population
N = 1000;
% Initial number of infected individuals
I0 = 10;
......@@ -25,7 +25,10 @@ y0 = [S0, I0, R0, C0];
[t, y] = ode45(@(t, y) deriv(y, nu, mu, epsilon, beta, gamma, Gamma, q), [0 time], y0);
figure(1)
plot(t, y)
plot(t, y);
xlabel('Time(days)');
ylabel('Number of individuals');
legend('S', 'I', 'R', 'C');
%% Add noise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment