tent map for image scrambling
Show older comments
clc;clear;close all;
N=200;
xp=zeros(1,N);
Aa=ones(1,N);
hold on;box on;
x=0.34;
for a=0:.001:1;
for n=1:N;
x=a-(1+a)*abs(x);
end
for k=1:N;
x=a-(a+1)*abs(x);
xp(k)=x;
end
plot(Aa*a,xp,'k.','markersize',1);
end
xlim([0,a]);
xlabel('\ita','Fontsize',22,'Fontname','Times new roman');
set(gcf,'Color','w');
how to use this code for image scrambling ????please help me...
Answers (0)
Categories
Find more on Logical 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!