alpha=[2.8,3.4,3.6,3.84]; x=0.5:0.1:1; for i=1:4 f=@(x)alpha(i).*x.*(1-x); plot(x,f(x)); hold on end legend('2.8','3.4','3.6','3.84');