Find argmax of a function - MATLAB Cody - MATLAB Central

Problem 44725. Find argmax of a function

Difficulty:Rate

You are given vectors x and y (=f(x)). Return the element of x for which f(x) is maximized.

Solution Stats

72.55% Correct | 27.45% Incorrect
Last Solution submitted on Jun 13, 2024

Solution Comments

Show comments

Problem Recent Solvers36

Suggested Problems

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!
Go to top of page