How to perform derivative of a random signal without finite difference schemes?
10 ビュー (過去 30 日間)
古いコメントを表示
Kalasagarreddi Kottakota
2023 年 2 月 20 日
回答済み: Walter Roberson
2023 年 2 月 20 日
I have a random signal measured through experiments. When I perform derivative of signal using diff or gredient, these functions induce a lot of error damaging the derivative. So, is there any alternative way to perform derivative of a signal in matlab?
0 件のコメント
採用された回答
Star Strider
2023 年 2 月 20 日
The derivative operation is by definition a highpass filter, and so will accentuate the noise. One option might be to filter the data with a lowpass filter first (there are several options), then calculate the derivative numerically.
0 件のコメント
その他の回答 (2 件)
Jan
2023 年 2 月 20 日
You can try a Savitzky-Golay-Derivative filtering: https://www.mathworks.com/matlabcentral/fileexchange/30299-savitzky-golay-smooth-differentiation-filters-and-filter-application
0 件のコメント
Walter Roberson
2023 年 2 月 20 日
https://math.mit.edu/~stevenj/fft-deriv.pdf
You can create blocks of signal, perhaps perform some windowing function on the blocks, and use fft techniques to estimate the derivatives over the time interval. The shorter the signal blocks, the less precise the coefficients will be, but also more reactive to changes in the signal.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Spectral Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!