Given an array, Find the sum of all of the elements in it
Examples:
Input x = [1 2 3 5; 4 5 6 7];
Output y is 33
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers375
Suggested Problems
-
Find the sum of the elements in the "second" diagonal
1208 Solvers
-
Back to basics 21 - Matrix replicating
1831 Solvers
-
493 Solvers
-
2354 Solvers
-
8730 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!