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 Solvers373
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6698 Solvers
-
Sum all integers from 1 to 2^n
17510 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13743 Solvers
-
353 Solvers
-
2036 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!