- 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 (최근 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!!!
댓글 수: 0
답변 (1개)
Jan
2021년 2월 9일
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:
참고 항목
카테고리
Help Center 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!