From: joseph Frank on 15 Apr 2010 09:51 Hi, I have matrix "A "and Matrix" B" where all the rows of" B "are in A. there are 200 columns in each of the matrices. I want to find which rows of "A" are not in "B". Is there a simple function to extract the unmatched rows? Regards
From: dpb on 15 Apr 2010 09:52 joseph Frank wrote: > Hi, > > I have matrix "A "and Matrix" B" where all the rows of" B "are in A. > there are 200 columns in each of the matrices. I want to find which rows > of "A" are not in "B". Is there a simple function to extract the > unmatched rows? > Regards ~ismember() % should do the trick...probably want 'rows' option --
|
Pages: 1 Prev: save .dat data Next: Multiplication of multidimensional arrays and computation speed |