I have variable X.
X=[2 4 6; 4 5 NaN 3 NaN NaN 5 8 12 3 8 NaN];
How to find any row with NaN in it. ismember([3 8 NaN],X,'rows') gives me 0.
findnan
X=[2 4 6; 4 5 NaN 3 NaN NaN 5 8 12 3 8 NaN];
Best Answer