Main Content

Find Change Points

Find abrupt changes in data in the Live Editor

Since R2019b


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.

Find Change Points task in the Live Editor

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 or find. Select Find Change Points from the suggested command completions.

Version History

Introduced in R2019b

expand all