From: salam on
if i have this row of info [2 4] and i want to know if this whole row existes in another matrix say
1 2 3 NaN
2 4 NaN NaN
2 5 NaN NaN
1 2 4 NaN
1 5 NaN NaN
2 5 NaN NaN
1 5 NaN NaN
1 2 5 3
1 2 5 NaN

how to do that, i tried it with ismemeber but this one it gives true if atleast on element is there, and I dont want this.

Thanks alot
From: us on
"salam " <salam.khalifa(a)gmail.com> wrote in message <hv4f0c$cqc$1(a)fred.mathworks.com>...
> if i have this row of info [2 4] and i want to know if this whole row existes in another matrix say
> 1 2 3 NaN
> 2 4 NaN NaN
> 2 5 NaN NaN
> 1 2 4 NaN
> 1 5 NaN NaN
> 2 5 NaN NaN
> 1 5 NaN NaN
> 1 2 5 3
> 1 2 5 NaN
>
> how to do that, i tried it with ismemeber but this one it gives true if atleast on element is there, and I dont want this.
>
> Thanks alot

a hint:

help ismember;
help all;

us