From: joseph Frank on
"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
I forgot to mention that the size of A is changing because I have many empty cells.