Detect Mean Shift and Remove Outliers

3 views (last 30 days)
Anirudh Peralai Ravisundar
Answered: Steven Lord on 26 Oct 2021
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.

Answers (1)

Steven Lord
Steven Lord on 26 Oct 2021
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.

Community Treasure Hunt

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

Start Hunting!