Find Change Points
Find abrupt changes in data in the Live Editor
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.
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
find. Select Find Change Points from the suggested command completions.
Version HistoryIntroduced in R2019b
R2022b: Plot multiple table variables
Simultaneously plot multiple table variables in the display of this Live Editor task. For table or timetable data, to visualize all selected table variables at once in a tiled chart layout, set the Variable to display field.
R2022b: Specify tabular output
Output a table or timetable with logical variables corresponding to the table variables checked for change points, or append the logical variables to the input table. For table or timetable input data, to specify the tabular format, set the Output format field.
R2022a: Live Editor task does not run automatically if inputs have more than 1 million elements
This Live Editor task does not run automatically if the inputs have more than 1 million elements. In previous releases, the task always ran automatically for inputs of any size. If the inputs have a large number of elements, then the code generated by this task can take a noticeable amount of time to run (more than a few seconds).
When a task does not run automatically, the Autorun indicator is disabled. You can either run the task manually when needed or choose to enable the task to run automatically.
R2021a: Operate on multiple table variables
This Live Editor task can operate on multiple table variables at the same time. For table
or timetable input data, to operate on multiple variables, select
Specified variables. Return all of
the variables or only the modified variables, and specify which variable to