if i have a leslie matrix L and a popn vector N, and the whole popn= 2 * L^n * N after n years, how would i set up a matlab program to find the popn for each of the next 10 years and the % increase each year (displayed in a matrix)?
I am given this program:
A=[];
for k=1:n
p=L*p;
A=[A p];
end
A...