function embedimage=arnold1(embedimage,N)
[m,n]=size(embedimage);
a=double(embedimage)/255;
for k=1:N
for i=1:m
for j=1:n
x=i+j;
y=i+2*j;
if x>m
x=mod(x,m);
end;
if y>m
y=mod(y,m);
end;
if x==0
x=m;
end;
if y==0
y=m;
end;
a1(x,y)=a(i,j);
end
end
embedimage1=a1;
end
imshow(embedimage1)