
% 
% Jiri Jirat
% Prague Institute of Chemical Technology
% 

%
% matice - 1. sloupec naboj, dalsi sloupce prvky
%
a = [
0,0,0,0,1;
0,1,1,3,0;
0,4,2,3,0;
0,0,2,6,1;
0,2,0,1,0]
hodnost = rank(a)  % hodnost matice = pocet nezavislych rovnic
b = a'             % transpozice matice
c = null(b)        % nalezeni baze nuloveho prostoru matice b
reseni = rref(c')  % upravy na "row reduced echelon form"
