- https://www.mathworks.com/matlabcentral/fileexchange/68342-savitzky-golay-differentiation-fir-filter-generalized
- https://www.mathworks.com/matlabcentral/fileexchange/63011-savitzky-golay-differential-filter-for-spectral-data
- https://www.mathworks.com/matlabcentral/fileexchange/7003-adaptive-degree-polynomial-savitzky-golay-filter-for-data-differentiation
Derivate a signal with staircase
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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!!!
0 comentarios
Respuestas (1)
Jan
el 9 de Feb. de 2021
A Savitzki-Golay-filter might be sufficient for your data: The local neighborbood is approximated by a polynomial, such that the derivatives are easy to calculate:
Ver también
Categorías
Más información sobre Multirate Signal Processing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!