MATLAB: Find local minma / opposite of findpeaks

findpeakslocal minimaopposite

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

Best Answer

I will tell, like you, multiply by -1 then use findpeaks
Related Question