% print_indices.m
%
for i = 1 : 3
  for j = 1 :5
    fprintf ( ' (%d,%d)', i, j );
  end
  fprintf ( '\n' );
end

