how we check the key space analysis and key sensitivity analysis in matlab??

6 views (last 30 days)
I = imread('camera man.png');
R = I(:)';
x=0.3;
p=0.343;
for n=2:65536;
if x(n-1)>=0 & x(n-1)<=p
x(n)=x(n-1)/p;
else
x(n)=(1-x(n-1))/(1-p);
end
end
A=sort(x);
[A,T]=sort(x);
Y=R(T);
C=reshape(Y,[256,256]);
V=imshow(C);
D=C(:)';
[D,U]=sort(T);
M=Y(U);
F=reshape(M,[256,256]);
imshow(F)
i want to check the key space nd key sensitivity . plz help

Answers (1)

Abdullah Qayyum
Abdullah Qayyum on 28 Jun 2020
Have you find the answer? Please also let me know

Community Treasure Hunt

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

Start Hunting!