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
-
Sum of diagonal of a square matrix
1608 Solvers
-
Getting the indices from a vector
11195 Solvers
-
Create a Multiplication table matrix...
682 Solvers
-
Find out total non zero element of matrix
278 Solvers
-
Sum the squares of numbers from 1 to n
253 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!