I need help trying to write a code for a logistic map that requires a range of r between 0 and 5

7 Ansichten (letzte 30 Tage)
I need help trying to write a code for a logistic map that requires a range of r between 0 and 5. I don't even know how to begin writing it. Thank you in advance for your help!

Antworten (1)

KALYAN ACHARJYA
KALYAN ACHARJYA am 3 Jul. 2022
Refer the following File Exchange FIle, it may be useful-
If it is useful for your own work, please give due credit to the author of the file
Michael (2022). Logistics Map (https://www.mathworks.com/matlabcentral/fileexchange/32424-logistics-map), MATLAB Central File Exchange. Retrieved July 3, 2022.
You may have to minor changes as per your requirements-
a = 0; % Initial r
b = 5; % final r
rs = linspace(a,b,N); % vector of "r" values
Hope it helps!
  1 Kommentar
JW
JW am 3 Jul. 2022
I tried the file you sent me ut unfortunately the value of r on the map does not increase past r=4 even with the modified script. What else can I do? My professor told me that the function should be a simple loop and that I can iterate over it.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by