Find the sum of the largest two elements in a vector - MATLAB Cody - MATLAB Central

Problem 44303. Find the sum of the largest two elements in a vector

Difficulty:Rate

With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

Solution Stats

60.85% Correct | 39.15% Incorrect
Last Solution submitted on Dec 31, 2024

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
2
3

Problem Recent Solvers106

Suggested Problems

More from this Author18

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!