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 Solvers353
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1822 Solvers
-
Compute a dot product of two vectors x and y
989 Solvers
-
Change the sign of even index entries of the reversed vector
553 Solvers
-
489 Solvers
-
Sum of odd numbers in a matrix
574 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!