Derivate a signal with staircase

3 views (last 30 days)
Stefano Massardi
Stefano Massardi on 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!!!

Answers (1)

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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!