MATLAB_Elementary_Population_Growth Description and Help

Description:

MATLAB_Elementary_Population_Growth is a graphical user interface (GUI) that plots solutions to elementary population growth models. The GUI can describe up to two different populations. The GUI assumes a population can be modeled by

 ′
x(t) = kx (t),x(0) = x0
where k,x0 are real constants. The parameter k represents the proportionality constant in the rate of change of the population and x0 the initial population.

To use the GUI, you must input three parameters per population. They are k,x0 and a final time to find the population value (labeled as T1 and T2 in the GUI).


PIC

Figure 1: MATLAB_Elementary_Population_Growth


The GUI will output the final population value in either panel ‘Population 1 at T1’ or ’Population 2 at T2’. Also, a plot of all the population values up to the final time will be displayed. There is a checkbox to put both populations on the same axis.


PIC

Figure 2: Output after clicking Plot


To reset the GUI, click the ‘Reset’ button.