Calculate the time derivatives for a signal envelope of burst signals (both width and height)?

15 views (last 30 days)
I haven’t coded for a while and certainly haven’t use envelops before but I wondered if you could help me with the following: To get rich summaries of data I would like to calculate the rate of change of a voltage burst signal – both the vertical and the horizontal from the steady state (with no picked-up phenomena).
The way I am coding this is to create an envelope from the steady state to the max point and then calculate the max peaks. The diff function is then applied to calculate the rate of change (then use average to give the average rate of change of diff vectors) – is this the correct approach or would you know cleaner way ?
I am sure this should be easy however I seem to be making a meal out of it !
Many thanks
James

Accepted Answer

Star Strider
Star Strider on 9 Nov 2018
I am not certain what you are doing.
Two functions that could be appropriate are envelope (link) to calculate the envelope (this appeared in R2015b, an alternative is the hilbert (link) function), and the gradient (link) function to calculate the derivative.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!