Below an example of a velocity signal. It's a simple integration of accelerometer data with 100 measurements per second.
As you can see there is drift (slowly drifting negative).
I'm completely new to MATLAB so I dont really have a clue what to do. I didn't came further than importing the data and plotting it with plot(velos1.cVelo)
As you can see it has some bigger peaks from the baseline. I basically want to filter only those peaks. In the second image you see a little zoom in of two of those peaks.
My goal: a non drifting signal that shows only the peaks. The peaks dont occur in certain frequency. There might be one peak per 10 minutes, zero, or 10.
How to do this in MATLAB?

