I have a Matrix, where few rows/columns have NaN value corresponding to all the columns/rows respectively. I know how to remove these rows/columns: X=X(:,~all(is an(X))); But I want to know the indices of these rows/columns.
Can anyone please help me?
Best Answer