% rezolvam problema 1c) azi

nmin = 3;
nmax = 10;

n = [nmin:nmax];
for i = 1:length(n)
  H   = hilb(n(i));
  k2  = cond(H,2);
  k1  = cond(H,1);
  kinf= cond(H,inf);
  
  fprintf('n=%d, k2=%4.2e, k1=%4.2e, kinf=%4.2e\n',...
    n(i),k2,k1,kinf);
end;