get a matrix of matrices from a while loop
Sep 23, 2013
05:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 23, 2013
05:03 AM
get a matrix of matrices from a while loop
PLease see attached file.
I am dealing with percoaltion theory for disease spread. My programme currently randomly immusies a percentage of the population and then infects one of them and the final programme lets the disease spread.
However I want to be able to call different stages of the disease spread from the final programme. I thought of doing this by calling each matrix created after every run in the loop called I_pop and put them into a matrix so i can easily call each partition of that matrix. however I dont know how to return all matrices from my loop and not just the one created at the end.
Any help would be appreciated.
Solved! Go to Solution.
Labels:
- Labels:
-
Other
ACCEPTED SOLUTION
Accepted Solutions
Sep 23, 2013
06:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
2 REPLIES 2
Sep 23, 2013
06:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 23, 2013
06:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sep 23, 2013
06:31 AM
Thankyou Alan
