Cody

Problem 43751. Remove Missing Values from a Table or an Array

  • Created by JD

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

71.43% Correct | 28.57% Incorrect
Last Solution submitted on Apr 13, 2020

Problem Comments

Problem Recent Solvers10

Suggested Problems

More from this Author11

Problem Tags