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


function A1=LRL(A) 
[m,n]=size(A); 
A=double(A); 
%ҵм 
for i=1:m 
    for j=n:-1:1 
        if j<n 
             A1(i,j)=bitxor(A(i,j),A1(i,j+1)); 
        else 
             A1(i,j)=A(i,j); 
      end 
   end 
end