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 Solvers112
Suggested Problems
-
Sum all integers from 1 to 2^n
17325 Solvers
-
Find the area of the four walls
289 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
259 Solvers
-
2236 Solvers
-
Calculate the number of elements in a matrix.
124 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!