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 Solvers15
Suggested Problems
-
Construct a string from letters and counts
142 Solvers
-
272 Solvers
-
First non-zero element in each column
858 Solvers
-
Test Problem; Create a 5x5 array containing all ones
384 Solvers
-
Replace all odd numbers with NaN
78 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!