Find local minma / opposite of findpeaks

41 views (last 30 days)
Hey, I was looking for some while for the function to get the local minima. To get the maxima there is the possibility with findpeaks but what about minima?! I hope, somebody knows if there is any. My solution would be to multiply the function by -1 and then use findpeaks, but that seems a bit stupid to me :-) Thanks! Leo

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 24 Nov 2013
I will tell, like you, multiply by -1 then use findpeaks

More Answers (0)

Community Treasure Hunt

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

Start Hunting!