MATLAB Answers

How to detect & remove steps from signal?

조회 수: 62(최근 30일)
Kathleen
Kathleen 26 Jan 2017
댓글: Kathleen 27 Mar 2017
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 26 Jan 2017
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.
  댓글 수: 1
Kathleen
Kathleen 27 Mar 2017
Thank you very much for your kind help!

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by