This project explores population dynamics using numerical solutions to ordinary differential equations (ODEs). It models real-world biological systems including logistic growth and predator-prey interactions, implemented and visualized entirely in MATLAB.
- Logistic Growth Model: Simulates rabbit population under limited resources using Euler's method.
- Predator-Prey Model: Implements coupled ODEs for rabbit and fox populations using both Euler's method and MATLAB’s
ode45
solver. - Graphical Output: Includes time-based plots, population correlation graphs, and a population animation.
- Video Export: Creates an
.avi
animation showing dynamic changes in rabbit and fox populations over time.
- Euler’s method for solving ODEs
- Logistic growth dynamics
- Lotka-Volterra predator-prey system
- Numerical vs analytical model comparison
- Population modeling and ecological insights
Project4.m
: Main driver script with all logic and plotting functionsLimitCircle.avi
: Video showing the predator-prey population loop (created during runtime)
- Open MATLAB
- Ensure
Project4.m
is in your working directory - Run the script by typing:
Project4