Hello Paul,

You want to keep "unique" values along the first column of M.
Here is how you can get this result:

//////////////////////////////////////////

M = [ 0 2; 0 6; 1 8;2 9]
firstCol=M(:,1);
[dum,ind]=unique(firstCol);
MuniqueFirstCol=M(ind,:);

//////////////////////////////////////////


Hope it helps,


Antoine


_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to