Talk:Ikeda map

From Wikipedia, the free encyclopedia

WikiProject Systems
This article is within the scope of WikiProject Systems, which collaborates on articles related to Systems science.
Systems rating: Start Class Mid importance  Field: Chaos theory
Please update this rating as the article progresses, or if the rating is inaccurate. Please also add comments to suggest improvements to the article.

[edit] Output

This matlab code doesn't produce the same output on my machine as it does here... and by looking at the code, you can tell it doesn't follow the equations given on this page.

This loop is where I see a problem (line numbers mine):

1.for n = 2:N
2.
3.t = 0.4 - 6/(1 + x^2 + y^2);
4.
5.x = 1 + u*(x*cos(t) - y*sin(t)) ;
6.y = u*(x*sin(t) + y*cos(t)) ;
7.
8.P(n,:) = [x y];
9.
0.end

On line 5, we change the value of X, then we use this changed value on line 6. That goes against the definition given earlier.

There is definitely something wrong here. Even after fixing that, my pictures look quite different. -- Jitse Niesen (talk) 02:43, 18 November 2006 (UTC)
Hi guys, yes, there is a programming error : we should store x and y in a temporary variable. But other than that I think the code follows the equations Kghose 17:56, 18 November 2006 (UTC)
PS. I'm redoing the plots and will upload them soon Kghose 04:57, 19 November 2006 (UTC)