How to detect & remove steps from signal?

26 次查看(过去 30 天)
Dear Colleagues, Given the signal shown in Fig.1, what is the best way to detect and remove the steps from the signal? The processed signal is shown in Fig.2. Could you give me some good methods to solve this problem? Thanks!
Fig.1 Raw signal, which contains several steps.
Fig.2 The processed signal.

采纳的回答

Massimo Zanetti
Massimo Zanetti 2017-1-26
Differentiate your signal (function diff in Matlab). The steps are located at points where first derivative is very high. Once your have found these points, translate your pieces of signal to match them.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Signal Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by