Remove perturbation - time series

I want to remove some perturbations, shown in the Figure. I have tried to use the Kalman filter following the example https://se.mathworks.com/help/control/ug/kalman-filtering.html, but cant get it to work really. Do you have some suggestion on how to approach this problem?

1 Comment

hello
why not simply remove outliers ? with rmoutliers or filloutliers (Replace outliers in data)

Sign in to comment.

Answers (0)

Products

Release

R2022a

Asked:

on 19 May 2022

Commented:

on 19 May 2022

Community Treasure Hunt

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

Start Hunting!