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
-
Return the 3n+1 sequence for n
8508 Solvers
-
4854 Solvers
-
MATCH THE STRINGS (2 CHAR) very easy
301 Solvers
-
Sum the 'edge' values of a matrix
404 Solvers
-
Replace every 3rd element in a vector with 4
267 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!