Smooth Data
Smooth noisy data in the Live Editor
Description
The Smooth Data task lets you interactively smooth noisy data. The task automatically generates MATLAB® code for your live script.
Using this task, you can:
Customize the method for smoothing data in a workspace variable.
Adjust parameters to generate less or more smoothing.
Visualize the input data compared to the smoothed data.
For more information on Live Editor tasks, see Add Interactive Tasks to a Live Script.
Related Functions
Smooth Data generates code that uses the smoothdata function.
Open the Task
To add the Smooth Data task to a live script in the MATLAB Editor:
On the Live Editor tab, select Task > Smooth Data.
In a code block in the script, type a relevant keyword, such as
smooth,noisy,movmedian, orlowess. SelectSmooth Datafrom the suggested command completions. For some keywords, the task automatically updates one or more corresponding parameters.
Examples
Related Examples
Parameters
Limitations
The Smooth Data task does not support 2-D smoothing windows.
Version History
Introduced in R2019bSee Also
Functions
Live Editor Tasks
- Clean Missing Data | Clean Outlier Data | Find Change Points | Find Local Extrema | Find and Remove Trends | Normalize Data | Compute by Group


