- 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 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Jan
le 9 Fév 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:
Voir également
Catégories
En savoir plus sur Multirate Signal Processing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!