• Remix
  • Share
  • New Entry

on 5 Oct 2021
  • 1
  • 30
  • 0
  • 0
  • 221
Npre = 500; Nplot = 300;
x = zeros(Nplot,1);
for r = 2.0:0.005:4.0,
x(1) = 0.5;
for n = 1:Npre,
x(1) = r*x(1)*(1 - x(1));
end,
for n = 1:Nplot-1,
x(n+1) = r*x(n)*(1 - x(n));
end,
plot(r*ones(Nplot,1), x, '.', 'markersize', 2);
hold on;
end,
Image
Remix Tree