Community Profile

photo

Darren Tharby


Last seen: 2 days ago Active since 2021

Statistics

Content Feed

View by

Question


Help with my SIR MODEL
function sir_model % Model parameters beta = 5*10^-9; % rate of infection gamma = 0.12; % rate of recovery (try also 0.07) d...

1 year ago | 3 answers | 0

3

answers

Question


Index exceeds number of array elements (1) Heuns method
% step size % h = 0.1; % number of steps % N = 10; x(1) = 0.1; y(1) = 1.1; f = 2*sin(x)+y; for i = 1:N y(i+1)...

1 year ago | 2 answers | 0

2

answers