Derivate a signal with staircase

2 次查看(过去 30 天)
Hi everyone
I have a signal like this, the sampling rate is low then i get the signal with a staircase.
The problem is that i want to derive it. 2 times! If i derive this signal i get a very bad derivative of course, and more the 2nd derivative.
I tryed to make it smoother with a simple cubic spline but i always have a bad derivate signal.
Any idea on how to make it smooth and well derivable?
Thanks!!!

回答(1 个)

Jan
Jan 2021-2-9
  1 个评论
Stefano Massardi
Stefano Massardi 2021-2-9
It gives me something like this. many samples are actually replicated in the horizontal part, i dont' know if this influences

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by