# How do we find maxima and minima for a discrete-time function

To find maxima and minima of a continuous-time signal we can use differentiation. I want to know how do we find maxima and minima of a discrete-time signal?

-
The answer probably depends on the signal. Do you have an example? –  Gerry Myerson Feb 26 '13 at 11:17