%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Copyright: 2010 Integrated Sytems Laboratory, ETH Zurich
%%            http://www.iis.ee.ethz.ch/~sha3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function i=index(x,y)
i=mod(x,5)+5*mod(y,5)+1;

end

% function a=resize(a)
% a=dec2bin(a)';
% a=a(:)';
% 
% end

Generated on Fri Sep 24 10:39:12 CEST 2010
Home