Detect Mean Shift and Remove Outliers

I have a signal output as shown below and seeking a way to accomplish two tasks. First one pertains to reomving the outliers, while the second need is to find the points where the cuve transitions from one level to the other (drastic shift in the mean). In the latter part, I need to find the indices of my array in which such a shift occurs. I tried doing it with some gradient methods but nothing worked out.

Réponses (1)

Steven Lord
Steven Lord le 26 Oct 2021

0 votes

Try the rmoutliers function or the Clean Outlier Data task for the first part of your question. Try the ischange function or the Find Change Points task for the second part.

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by