tent map for image scrambling

2 views (last 30 days)
Surya R
Surya R on 13 May 2019
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)

Tags

Community Treasure Hunt

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

Start Hunting!