Problem 54730. Local Extrema
Solution Stats
Problem Comments
-
6 Comments
William, thanks for the comment.
I thought the value of extrema was based on strict criteria. I stand corrected. The problem statement has been updated.
Yes, if this were a continuous function, an extremum would imply that the value was strictly the largest. In the case of a set of discrete values, though, it may be debatable whether two equally large neighbors should be considered as 2 maxima or not.
I see, thanks for the clarification!
Solution Comments
Show commentsProblem Recent Solvers6
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
9006 Solvers
-
2453 Solvers
-
Project Euler: Problem 10, Sum of Primes
1898 Solvers
-
Create a matrix with difference of each row of input matrix
75 Solvers
-
Who is the baby and who is the daddy in this family?
49 Solvers
More from this Author31
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!