Problem 44303. Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.
Solution Stats
Problem Comments
-
1 Comment
goc3
on 8 Sep 2017
Additional test cases have been added.
Solution Comments
Show commentsProblem Recent Solvers107
Suggested Problems
-
916 Solvers
-
Return unique values without sorting
974 Solvers
-
find a specific element from an matrix
115 Solvers
-
181 Solvers
-
Replace 0 indices in array with 1's
130 Solvers
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!