Download presentation
Presentation is loading. Please wait.
1
Organism Population in a Fixed Area.
By Kevin Lin EPS-109
2
Idea Simulating a population growth in a fixed area, so there will be elements of food and movement to the food and see where the population is at certain time frames. Each organism is represented as an element in a matrix. Contains coordinates, health, and alive counter. Organisms will also reproduce up to 2 total new offspring at any given time. Movement of the organisms controlled by a random walk that is not weighted evenly. Growth of food depends on a constant, assume that the maximum it can grow is constant but is controlled by a rand() function.
3
Analysis of Random Walk
if org(4,orgMove) == 0 continue; end xr = org(1,orgMove) + 1; xl = org(1,orgMove) - 1; xu = org(2,orgMove) + 1; xd = org(2,orgMove) - 1; %Boundary Conditions if xr > NX xr = NX; if xl < 1 xl = 1; if xu > NX xu = NX; if xd < 1 xd = 1; choose = [Z(xr,org(2,orgMove)),Z(xl,org(2,orgMove)),Z(org(1,orgMove),xu),Z(org(1,orgMove),xd)]; choose = sort(choose); Check to see if it’s dead Boundary conditions --- Just like what we did in class
4
Eating rate is 1.25of growth rate – about 50% lives
These kinds of simulations can simplify how organisms grow in a culture. If actual numbers can be found. ie: days without food, how fast they consume food, etc. May be used to predict density of population by varying the amount of food going into a system. In real life, eating rates should be pretty much constant.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.