function [y]= DiscreteGrowthBL(r,K,a0,n)
y(1)=a0;
for v=1:n
y(v+1)=y(v)*r*(1-y(v)/K);
end
end
Choose a value of r between 3 and 10, and a value of K between100 and 100000. Using the MATLAB function written in the previousquestion, generate a0,a1,…,a1000 for the system given with a0 = K/2 . Fit two di?erent types of functions of this data. On a singlegraph, plot the values given by your recurrence relation, as wellas the two functions that you ?t. Include axes, labels, title, etc.Describe which model is a better ?t.
Expert Answer
An answer will be send to you shortly. . . . .