function [ x ] = logisticFct( r, initPop, itMax )
%logisticFct Returns the time series of a logistic growth
%   Detailed explanation goes here

x=ones(1, itMax);
x(1)=initPop;
for i=2:itMax
    x(i)=r*x(i-1)*(1-x(i-1));
end
end

