x=ones(100,6)*0.3;p=[0.3 0.31 0.311 0.3134 0.334 0.36];for i=2:100 x(i,:)=p.*x(i-1,:).*(1-x(i-1,:));endplot(x)legend('p=0.3','p=0.31','p=0.311','p=0.3134','p=0.334','p=0.36')