How can i generate chaos sequence

I want to generate chaos sequence using matlab,please provide me the code for this sequence generation

 Réponse acceptée

Özgür Aktekin
Özgür Aktekin le 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 commentaires

RESHMA
RESHMA le 24 Sep 2016
thank you sir,but i already tried it in another way...very very thanks for your help....
lakshmi boddu
lakshmi boddu le 5 Mar 2018
can u plse help me with the code which u have tried for logistic map
Thouraya Ghouaidia
Thouraya Ghouaidia le 3 Oct 2022
Sir, I want to generate a chaotic sequence with logistic map and he on map, any help plz?

Connectez-vous pour commenter.

Plus de réponses (2)

maneesha g
maneesha g le 2 Mai 2018

0 votes

sir, i want lorenz chaotic sequence please help me sir
Adib Mashuri
Adib Mashuri le 30 Nov 2018

0 votes

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

Catégories

En savoir plus sur Agriculture dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by