> By R you symbolize the newly created row vector i suppose.
> Moreover, in case i wanted to perform a check on whether this row vector > already exists in the matrix, how should i implement it? > I have tried the ismember function but it does not fit my problem.
Why not??? Sounds like exactly ismember() w/ the optional 'rows' argument to me...