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

조회 수: 4(최근 30일)
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!

답변(1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2022년 7월 3일
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
JW
JW 2022년 7월 3일
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.

댓글을 달려면 로그인하십시오.

범주

Find more on Particle & Nuclear Physics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by