# Homework Help: Logistic Mapping in MATLAB

1. Apr 28, 2010

### elliottmarter

I Have just received this coursework (see the two attachments below) from my Applications of Computing module and was looking to be able to discuss some questions I have as I go about completing the coursework.

View attachment MATLAB_Logistic_CW.pdf

View attachment Logistic_Map_Info.pdf

firstly by simplifying the formula given I have the following

Xn+1 = $$\lambda$$ Xn(1-Xn)

where
$$\lambda$$: growth rate
Xn+1: population size next year
Xn: population size this year

then I will need to create a loop so that the value is put back in to find the population size in the next year too, also another one of the inputs is "n" which defines how many times the loop is run, or for how many years in the future you want to calculate the populations' size. so I basically end up with a graph that curves up or down depending on if the population will survive or not

this curve then needs to be put on a subplot diagram with a y=x line along with a "cobweb" line, which in all honesty i have never come across...

all of this needs to be put in one m-file so that i could type for example

logmap(1,2,3)