MATLAB: Signal Segmentation ( All the max values)

digital signal processing

Dear All, I have a velocity signals of the car ( Accelerating and Deaccelerating) . The velocity reaches a peace value and then decrease and again decrease and decrease. I want to detect each of the peak and start point and end point ( the value and the index). Does any of you know a procedure that is efficient?
Thanks so much for your help.

Best Answer

  • you could use the function findpeaks, and a tutorial is here: