find local minima and maxima in this vector

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

You can smooth your data smooth and then use findpeaks (or maxk)
Realy Thank you Alex . I didn't know that such function exists.

Sign in to comment.

Answers (0)

Asked:

on 24 Jul 2019

Commented:

on 24 Jul 2019

Community Treasure Hunt

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

Start Hunting!