www.pudn.com > zishiyingjiami.rar > RUTLD.m, change:2011-12-08,size:354b


function A1=RUTLD(A) 
%ϵ¼ 
[m,n]=size(A); 
A1=zeros(m,n); 
for i=1:m 
    for j=n:-1:1 
        if i==1 | j==n 
           A1(i,j)=A(i,j); 
        else 
               tp1=bitxor(A(i,j),A1(i-1,j)); 
               tp2=bitxor(tp1,A1(i,j+1)); 
               tp3=bitxor(tp2,A1(i-1,j+1)); 
               A1(i,j)=tp3; 
        end 
    end 
end