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 Solvers105
Suggested Problems
-
Find the sum of all the numbers of the input vector
49115 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
378 Solvers
-
What is Sum Of all elements of Matrix
413 Solvers
-
536 Solvers
-
Create a square matrix of zeros of even order
156 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!