MATLAB: Hello I have that emg signal (after using filter) as you see there is 5 different segments .I have to split these segments. How can ı develop automatic identification of these segments

signal processing

Ekran Alıntısı.PNG

Best Answer

I would use the findpeaks (link) function:
[pks,locs] = findpeaks(-your_signal)
Note the negation (‘-your_signal’). This flips it upside-down, so the minima become maxima. Use the ‘locs’ output to find the small minima, then use those indices to split your signal.