Clean Missing Data
Find, fill, or remove missing data in the Live Editor
Description
The Clean Missing Data task lets you
interactively handle missing data values such as NaN or
<missing>. The task automatically generates MATLAB® code for your live script.
Using this task, you can:
Find, fill, or remove missing data in a workspace variable.
Customize the method for filling data.
Define nonstandard missing value indicators.
Visualize the missing data and the cleaned data.
For more information on Live Editor tasks, see Add Interactive Tasks to a Live Script.
Related Functions
Clean Missing Data generates code that uses the
ismissing, standardizeMissing, fillmissing, and rmmissing functions.
Open the Task
To add the Clean Missing Data task to a live script in the MATLAB Editor:
On the Live Editor tab, select Task > Clean Missing Data.
In a code block in the script, type a relevant keyword, such as
missing,NaN,fill, orremove. SelectClean Missing Datafrom the suggested command completions. For some keywords, the task automatically updates one or more corresponding parameters.
Examples
Related Examples
Parameters
Version History
Introduced in R2019bSee Also
Functions
Live Editor Tasks
- Clean Outlier Data | Find Local Extrema | Smooth Data | Find and Remove Trends | Find Change Points | Normalize Data | Compute by Group


