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

PS Can anyone please point me in the right direction for templates or similar code/algorithms ?

More James Marcus Griffin's questions See All
Similar questions and discussions