How can i generate chaos sequence

6 views (last 30 days)
I want to generate chaos sequence using matlab,please provide me the code for this sequence generation

Accepted Answer

Özgür Aktekin
Özgür Aktekin on 20 Sep 2016
Hi Ammu,
You can use the logistic map.
x(n+1) = r*x(n)*(1-x(n))
%sequence is chaotic where 3.57 < r < 4.
r = 3.8; % r parameter for chaotic regime
size = 100; % size of chaotic array
x(1)= 4; % initial value
for i=1:size-1
x(i+1) = r*x(i)*(1-x(i));
end
%Now x is a chaotic array with 100 elements.
Hope this will help.
Özgür
  3 Comments
lakshmi boddu
lakshmi boddu on 5 Mar 2018
can u plse help me with the code which u have tried for logistic map
Thouraya Ghouaidia
Thouraya Ghouaidia on 3 Oct 2022
Sir, I want to generate a chaotic sequence with logistic map and he on map, any help plz?

Sign in to comment.

More Answers (2)

maneesha g
maneesha g on 2 May 2018
sir, i want lorenz chaotic sequence please help me sir

Adib Mashuri
Adib Mashuri on 30 Nov 2018
anyone know how to predict chaos using mean with the sequence result? because mu coding just can only resulted one step next prediction only.

Categories

Find more on Data Distribution Plots 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!