How to quantify the steps in findchangepts function output?

4 次查看(过去 30 天)
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

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by