Calculation of derivative of a waveform

14 vues (au cours des 30 derniers jours)
jyoti mishra
jyoti mishra le 9 Avr 2021
How can I find the derivative of following waveform using matlab coding?

Réponse acceptée

Star Strider
Star Strider le 9 Avr 2021
Use the gradient function. That appears to be relatively noise-free, so gradient should produce a useful result.
If noise is a problem (that will be revealed as a number of sharp spikes in the signal after using gradient), then process it first with the sgolayfilt function to remove most of the the noise, then calculate the gradient.
Other options to remove the noise would be to first calculate the fft to see the signal spectrum, and then use that to design and use a lowpass filter with an appropriate cutoff frequency.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by