m = 10;
n = 3;

zeros(n)
zeros(m,n)
zeros(n,m)
zeros(n,1)
zeros(1,n)

magic(n)

rand(n)
rand(n,1)

eye(n)

ones(n)

magicM = magic(n)
tril(magicM)
triu(magicM)

magicM_d = diag(magicM)
magicM_l = tril(magicM,-1)
magicM_u = triu(magicM,1)

transpose(magicM)

d = 5:-1:1
diag(d)
diag(d,1)
diag(d,-1)

jednotkova = eye(n)
5.*jednotkova

magicM
(magicM_l + magicM_u)
