
function vector = unroll(matriz)

   % vector = [ matriz{1}(:) ; matriz{2}(:) ; matriz{3}(:) ]

   vector = matriz{1}(:);
   for c = 2:length(matriz),
      vector = [ vector ; matriz{c}(:) ];
   end

end
