I need to record a series of pulse waves for an experiment. The recording is done via Software Defined Radio (GNU Radio). The pulse waves are modulated in such a way that the amplitudes of each single pulse increase up to a certain point where it peaks. Afterwards, the amplitudes decrease. This behavior repeats.
I need to compute the peak amplitude value of these pulses. For that, I need to compute the envelope of the pulses to calculate the maximum. The following picture shows what I mean.
However, traditional envelope detectors are used to extract the original signal from the carrier wave and do not compute the envelope from a series of pulses. I might end up with the envelope for each pulse which is not what I need.
My question is whether there exists methods for computing such an envelope or how you would tackle this problem.
Edit: Since my problem statement wasn't clear enough, I want to clarify some things
- The signal shown in the pictures is generated in GNU Radio by creating a signal wave and chopping it to pulses by multiplicating it with a vector
- The "envelope" I described here is misleading. As @ZRHan pointed out, a simple interpolation would be enough. However, I have to investigate it further to give a clear answer
Edit: Since the question has been flagged as a duplicate, I want present the solution, that I have been using since asking the question. Since the goal is to determine the peak of the "fake envelope", I simply performed a polynomial regression of order 2 on the peaks of the single pulses, as @MBaz described. Then I can simply get the peak by getting the maximum of the fit model.
