i would like to plot an iterative function
Ältere Kommentare anzeigen
f(x) =kx(1-x) , 3.5<k<4.0 , 0<x<1 . in steps of .0001
Akzeptierte Antwort
Weitere Antworten (1)
For example,
k=linspace(3.5,4.0,5);
x=0:0.0001:1;
for i=1:numel(k)
f =k(i).*x.*(1-x);
plot(x,f); xlabel x; ylabel f(x)
hold on
end
hold off; legend("k = "+k)
1 Kommentar
dave
am 21 Feb. 2023
Kategorien
Mehr zu Correlation and Convolution finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

