How can i generate chaos sequence
6 views (last 30 days)
Show older comments
RESHMA
on 16 Feb 2016
Commented: Thouraya Ghouaidia
on 3 Oct 2022
I want to generate chaos sequence using matlab,please provide me the code for this sequence generation
0 Comments
Accepted Answer
Ö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
Thouraya Ghouaidia
on 3 Oct 2022
Sir, I want to generate a chaotic sequence with logistic map and he on map, any help plz?
More Answers (2)
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.
0 Comments
See Also
Categories
Find more on Data Distribution Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!