How to perform derivative of a random signal without finite difference schemes?

6 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

Star Strider
Star Strider am 20 Feb. 2023
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.

Weitere Antworten (2)

Jan
Jan am 20 Feb. 2023

Walter Roberson
Walter Roberson am 20 Feb. 2023
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.

Community Treasure Hunt

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

Start Hunting!

Translated by