Find Change Points
Find abrupt changes in data in the Live Editor
Description
The Find Change Points task lets you interactively find abrupt changes in the mean, variance, or slope and intercept of data. The task automatically generates MATLAB® code for your live script.
Using this task, you can:
Specify the change point type and locate the change points in data in a workspace variable.
Adjust the number of detected change points.
Visualize change point locations and the segments of data between them.
For more information on Live Editor tasks, see Add Interactive Tasks to a Live Script.
Related Functions
Find Change Points generates code that uses the
ischange
function.
Open the Task
To add the Find Change Points task to a live script in the MATLAB Editor:
On the Live Editor tab, select Task > Find Change Points.
In a code block in the script, type a relevant keyword, such as
change,find,variance, orlinear. SelectFind Change Pointsfrom the suggested command completions. For some keywords, the task automatically updates one or more corresponding parameters.



