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

Created by JD in Community

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

69.23% Correct | 30.77% Incorrect
Last solution submitted on Apr 06, 2019

Problem Comments