find local minima and maxima in this vector

2 views (last 30 days)
Hi, I have a problem where I must find only peaks shown in yellow in the figure below. The problem is that I have many small peaks. figurematlab.JPG
  2 Comments
Alex Mcaulley
Alex Mcaulley on 24 Jul 2019
Edited: Alex Mcaulley on 24 Jul 2019
You can smooth your data smooth and then use findpeaks (or maxk)
riki ragùa
riki ragùa on 24 Jul 2019
Realy Thank you Alex . I didn't know that such function exists.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!