Derivate a signal with staircase

1 次查看(过去 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

请先登录,再进行评论。

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by