Ask your own question, for FREE!
Mathematics 16 Online
OpenStudy (usukidoll):

matlab help

OpenStudy (usukidoll):

here's the values zombies2(0.005,0.0100,0.0900,0.0900,5,1) and I will attach a txt for the code @Lyrae

OpenStudy (usukidoll):

I am trying to replicate figure 3 http://mysite.science.uottawa.ca/rsmith43/zombies.pdf and hold on the code is coming... forgot to start my program

OpenStudy (usukidoll):

OpenStudy (usukidoll):

but my graph looks messed up !

OpenStudy (usukidoll):

OpenStudy (usukidoll):

the axis are fine, but the graph inside is a case of what just happened. And it's the infection being introduced into the basic model, so I had to use the S Z R model

OpenStudy (shiraz14):

@UsukiDoll: think the model should use αSR, instead of αSZ. So the equations on page 3 should read: Z' = βSZ + ζR - αSR and R' = δS + αSR - ζR As with any problem, it'd be useful to clarify the equations which make up the model before proceeding to model the distribution empirically.

OpenStudy (usukidoll):

oh I'll try that and see what happens after I eat dinner

OpenStudy (shiraz14):

OK

OpenStudy (lyrae):

Eulers method is iterative, try smaller time steps as well: ie. dt = 0.1, 0.05, 0.01, 0.005, 0.001 zombies2(0.005,0.0100,0.0900,0.0900,5,dt) until you find an acceptable converge rate (graph looks nice)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!