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
Solution Comments
Show comments
Loading...
Problem Recent Solvers122
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3070 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
264 Solvers
-
Matlab Basics II - Extract last 3 elements of a vector
264 Solvers
-
2702 Solvers
-
Check if inputted variable is a string or a number
93 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!
Additional test cases have been added.