Bifurcation diagram and lyapunov diagram
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
please can any one help me to plot the Bifurcation diagram and lyapunov diagram for this code ???? please i need it very much
x(1)=0.2350;
y(1)=0.3500;
z(1)=0.7350;
a(1)=0.0125;
b(1)=0.0157;
l(1)=3.7700;
image_height=256;
for i=1:1:70000
x(i+1)=l*x(i)*(1-x(i))+b*y(i)*y(i)*x(i)+a*z(i)*z(i)*z(i);
y(i+1)=l*y(i)*(1-y(i))+b*z(i)*z(i)*y(i)+a*x(i)*x(i)*x(i);
z(i+1)=l*z(i)*(1-z(i))+b*x(i)*x(i)*z(i)+a*y(i)*y(i)*y(i);
end
%%histogram equalization
x=ceil(mod((x*100000),image_height));
y=ceil(mod((y*100000),image_height));
z=ceil(mod((z*100000),image_height));
original=imread('peppers.jpg');
rgb=rgb2gray(original);
[row,col]=size(rgb);
imshow (rgb)
n=500;
p=600;
q=700;
for j=1:1:row
k(j)=x(j+n);
l(j)=y(j+p);
end
% for i=1:1:row
% k(i)=x(i+n);
% end
% for j=1:1:col
% l(j)=y(j+p);
% end
for j=1:1:col*row
m(j)=z(j+q);
end
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Computations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!