oop-population-dynamics
Dynamic Population Models with MATLAB Object Oriented Code
This code is what was presented for the Australian AgTech Webinar on 16th March 2021. It showcases how to stack together objects to create a world in which plants grow, herbivores eat and are eaten by carnivores. The key is that this object approach and the world framework is flexible and extensible. For example, the system can be adapted to model fishing fleets and fish populations, or harvest strategies for logging operations.
Setup
To Run:
- Open the MATLAB® Project prj file and use the project shorcuts:
- "Grass Lives Forever" for a simple development version where the grass lives forever
- "Grass is Finite but Regrows" for the final version where the grass is consumed and takes time to regrow
https://www.mathworks.com)
MathWorks Products (This demonstration was developed in R2021a but should be quite backward compatible. The following are recommended products as simulations such as this are often placed into a much larger Monte Carlo framework.
License
The license for this population modelling code is available in the LICENSE.TXT file in this repository.
Community Support
Copyright © 2021 - 2023 The MathWorks, Inc.
Cite As
Peter Brady (2024). oop-population-dynamics (https://github.com/mathworks/oop-population-dynamics/releases/tag/0.7.0), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
src/+movement/@move
src/+movement/@moveSimple
src/@animal
src/@organism
src/@plant
src/@world
test
utils
Version | Published | Release Notes | |
---|---|---|---|
0.7.0.0 | See release notes for this release on GitHub: https://github.com/mathworks/oop-population-dynamics/releases/tag/0.7.0 |
||
0.6.1.0 | See release notes for this release on GitHub: https://github.com/mathworks/oop-population-dynamics/releases/tag/0.6.1 |
||
0.5 |