function A = mat_entry(N)
% A = mat_entry(m)
% This m function returns an N x N matrix 
% whose entries a_{ij} are the max of i and j.
% Author: Math 4329 Fall 2018
% Example: A = mat_entry(2).
 for i = 1:N
             for j = 1:N
                 A(i,j) = max([i j]);
             end % for j-loop 
 end% i-loop
end