%uloha80

%matice A
%1.zpusob
A1=2*eye(10)
A2=[0 ones(1,9); zeros(9,10)]
A3=A1+A2
%2.zpusob
A4=2*eye(10)
A4(1,2:end)=ones(1,9)

%matice B
%1.zpusob
B=zeros(10)
B(1:11:100)=100:-10:10

%2.zpusob
B2=eye(10)
B2(B2==1)=100:-10:10

%matice C
%1.zpusob
v=1:10;
C=v'*v

%2.zpusob
C2=ones(10)
for i=1:10
    for j=1:10
        C2(i,j)=i*j
        end
end