From: joseph Frank on 4 May 2010 17:33 "Matt Fig" <spamanon(a)yahoo.com> wrote in message <hrq32j$q24$1(a)fred.mathworks.com>... > "Matt Fig" <spamanon(a)yahoo.com> wrote in message <hrq1os$t7i$1(a)fred.mathworks.com>... > > find(ismember([A{:}],B) & ismember([C{:}],D)) > > Oh, I didn't see that B and D were cells too. You will have to index into them as cells too. > > find(ismember([A{:}],B{1}) & ismember([C{:}],D{1})) sorry Matt but I am still facing problems and I think because the size of A is changing: E=[A{:}]; whos E Name Size Bytes Class Attributes E 1x20545 164360 double Consequently I am receiving the error: ??? Error using ==> and Inputs must have the same size. Error in ==> Step2Table3Merge1withseocln at 38 x=find(ismember([A{:}],B{1}) & ismember([C{:}],D{1})) ;
From: joseph Frank on 4 May 2010 17:36 I forgot to mention that the size of A is changing because I have many empty cells.
First
|
Prev
|
Pages: 1 2 Prev: Data Filtering Window Next: Relation between Hough & Radon Transform Matrices |