
% 
% Jiri Jirat
% Prague Institute of Chemical Technology
% 

%
% matice - 1. sloupec naboj, dalsi sloupce prvky
%
a = [
0,4,0,6,0,0;
0,0,0,0,0,1;
0,0,2,4,1,0;
0,1,3,0,0,0;
0,0,0,4,1,1;
0,0,2,1,0,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"
