MATLAB: Finding average of a sensor signal

find average of signal

I have a signal as attached.
I want to find the average of this signal. How could this be done?
I tried findmaxima and mean functions. But I am not sure if I get the correct one.
Related Question