function A = matrix_entry(n)
% A = matrix_entry(n)
% Returns a nxn matrix A =(a_{ij}) with entries max{i,j}.
% Author: Math 4329 Fall 2018
% date: 11-01-18.
% Example:
% A = matrix_entry(2)
% 

for i=1:n
    for j=1:n
        A(i,j)= max([i j]); % 1/(i+j-1 ) ;
    end%j-loop
end% i-loop

end