Problem 42450. Summation of array
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 commentsProblem Recent Solvers342
Suggested Problems
-
Select every other element of a vector
31600 Solvers
-
Extract leading non-zero digit
2075 Solvers
-
6633 Solvers
-
Sum the 'edge' values of a matrix
329 Solvers
-
263 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!