The fastest way to find local minimum

What is the most efficient/fastest way to find the circled local minimum below, the lowest minima between two highest peaks? The graph was created by plot(x,y).

Fastest way to find local minimum

ANSWER provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

Invert your signal

invertedSignal = max(signal(:)) - signal;

Now valleys will be peaks. Then call find peaks.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store