Problem 44725. Find argmax of a function
You are given vectors x and y (=f(x)). Return the element of x for which f(x) is maximized.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers35
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15368 Solvers
-
3719 Solvers
-
How to find the position of an element in a vector without using the find function
2694 Solvers
-
1050 Solvers
-
342 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!