Feeds
提问
I'm very new to matlab and I'm doing this simulation for infectious diseases. I keep receiving an error message: Not enough input arguments." Error in sird (line 47) dx(1)= -beta*(x(2)*x(1))/x(5)+x(1)*(dr+br);" How do I solve this?
The code is shown below. function dx = sird(t,x); dx= [0; 0; 0; 0; 0]; % Parameters for Beta dt=1/7; ...
8 years 前 | 1 个回答 | 0
1
个回答提问
"Struct contents reference from a non-struct array object." What does this mean?
I'm a high school student and I'm currently modifying the SIR Model for infectious diseases. I know so little about matlab since...
8 years 前 | 1 个回答 | 0
