Hi, I want to find points of abrupt changes in my data signal to obtain various levels in the signal. I am using 'findchangepts' function. I am able to find correct indexes of change points. I also want to retrieve amplitude of each level. For reference, I have attached image of one of my signals operated with 'findchangepts' function. I want to find values of levels shown in "red color".
I am new to MATLAB. Also, can suggest any other method to find changes in signal (my data contains very sharp changes for small duration, appear like sharp peaks in XRD)?
findchangepts(x, 'Statistic', 'mean', 'Threshold', 0.2);
Best Answer