% set the correct size of the matrix
A=zeros(n)
% set all components
for i=1:n
    for j=1:n
        A(i,j)=j+n*(i-1);
    end
end
A
condA=cond(A)

