Feeds
已回答
Remove rows or cols whose elements are all NaN
To remove only ALL-NaN columns, do this instead: A = A(:,~all(isnan(A)));
Remove rows or cols whose elements are all NaN
To remove only ALL-NaN columns, do this instead: A = A(:,~all(isnan(A)));
10 years 前 | 13