Calculation of derivative of a waveform
4 views (last 30 days)
Show older comments
How can I find the derivative of following waveform using matlab coding?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/578322/image.png)
0 Comments
Accepted Answer
Star Strider
on 9 Apr 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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!