Problem 300. Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the entire line containing NaN;
Solution Stats
Problem Comments
-
2 Comments
goc3
on 24 Feb 2017
Additional test cases have been added.
Mia Buckley
on 22 Jul 2021
I have the same problem and need a solution.
Solution Comments
Show commentsProblem Recent Solvers1275
Suggested Problems
-
Switch matrix to a column vector
362 Solvers
-
Remove element(s) from cell array
1815 Solvers
-
473 Solvers
-
Solve a System of Linear Equations
13122 Solvers
-
1072 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!