function row_vector = rowcat( M )

M_row_dim = size(M,1);
M_col_dim = size(M,2);

row_vector = M(1,:);

for i = (2:M_row_dim)
        row_vector = [row_vector M(i,:)];
end