Derivate a signal with staircase

1 Ansicht (letzte 30 Tage)
Stefano Massardi
Stefano Massardi am 9 Feb. 2021
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!!!

Antworten (1)

Jan
Jan am 9 Feb. 2021
  1 Kommentar
Stefano Massardi
Stefano Massardi am 9 Feb. 2021
It gives me something like this. many samples are actually replicated in the horizontal part, i dont' know if this influences

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by