-
1 Comment
Engineer_Josh
on 7 Dec 2016
function B = remove_nan_rows(A)
B = A;
B(any(isnan(A')),:) = [];
end
Why isn't this working?
Suggested Problems
-
13583 Solvers
-
Extract leading non-zero digit
2177 Solvers
-
1357 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
484 Solvers
-
345 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!