How to quantify the steps in findchangepts function output?

3 views (last 30 days)
Hi! I found the change points on my data with this code:
clear; close; clc;
load('data_c_AN_R')
figure(1)
M5i = movmean(Pc,10);
findchangepts(M5i,'Statistic','mean','MaxNumChanges',30);
Now I would like to quantify the difference between consecutive steps (in the y axis) and store this values in a matrix.
In addition I would like to plot the date in the x-axis.
Can anybody help me please? I attached the data

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!