function dN=modelecoli(t,N,rates)
%Logisticaly Growth with option for Expoenetial Decay
%The carrying capacity is Nmax, while the rate of growth is r doubling per
%hour. If dummy=0 logistical growth, if dummy=1 than decay term included

% Variables and rates
r=rates(1);
Nmax=rates(2);
dummy=rates(3);
% Equation
dN=[r*N*(1-N/Nmax)-2.304*N*dummy];
