Problem 43751. Remove Missing Values from a Table or an Array
Remove missing entries from an array or table. If A is a vector, then remove any entry that contains missing data. If A is a matrix or table, then remove any row that contains missing data. Missing values are defined according to the data type of A:
NaN — double, single, duration, and calendarDuration
NaT — datetime
<missing> — string
<undefined> — categorical
' ' — char
{''} — cell of character arrays
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers16
Suggested Problems
-
15977 Solvers
-
Create a cell array out of a struct
2199 Solvers
-
Getting the absolute index from a matrix
250 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
385 Solvers
-
Matlab Basics - Pick out parts of a vector
258 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!