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

73.08% Correct | 26.92% Incorrect
Last Solution submitted on Feb 09, 2025

Solution Comments

Show comments
Who Deserves Your Praise? Discover the New Contribution Widget!
...
We are excited to announce another update to our Discussions area: the...

Problem Recent Solvers37

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