If you haveR2015b or later, and the Signal Processing Toolbox, theenvelope (link) function, and particularlyEnvelope of Asymmetric Sequence (link) (see the third example using the'peak' argument) might be the easiest way to determine the centre-line asymptote. The last value it returns would likely be what you want.
Best Answer