www.pudn.com > zishiyingjiami.rar > HDUJ.m, change:2011-12-09,size:231b


function A1=HDUJ(A) 
[m,n]=size(A); 
A=double(A); 
%从下到上行解密 
for i=m:-1:1 
    for  j=1:n 
         if i>1 
            A1(i,j)=bitxor(A(i,j),A(i-1,j)); 
         else 
            A1(i,j)=A(i,j); 
         end 
    end 
end