
function out = myfind(A, x)
 out = [];
 for j = 1:length(A)
   if A(j) == x 
      out = [out, j];
   end;
 end;