This question already has an answer here:

MinDetect will find all minima in an array of data of any rank. Is there something similar for finding all stationary points? i.e Given an array of data, find all minima, maxima, and saddle points of any index.


marked as duplicate by Sjoerd C. de Vries, ciao, bbgodfrey, m_goldberg, Kuba Apr 23 '15 at 6:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.