MATLAB MATLAB Logistic Map

  • Thread starter lahuxixi
  • Start date
8
0
I want to make a m-file that show the behavior of the logistic map for di erent values of r using the bifurcation diagram.
This is what i currently have, but i don't know why it is wrong.
Can anyone help me?

c=0;
hold on
while c < 4
y=0.5;
for i=1:100;
y = -c*y^2 +c*y; %converge the iteration
end
for i=1:20
y = -c*y^2 +c*y;
plot(c,y,'.', 'MarkerSize',1); % plot the converged points
end
c=c+0.002;
end
 

Want to reply to this thread?

"MATLAB Logistic Map" You must log in or register to reply here.

Related Threads for: MATLAB Logistic Map

Replies
0
Views
5K
Replies
0
Views
3K
Replies
0
Views
2K
  • Posted
Replies
0
Views
2K
  • Posted
Replies
0
Views
3K
  • Posted
Replies
0
Views
1K
  • Posted
Replies
0
Views
3K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top